jdbc连sqlserver2k错误,含泪求教!-->卜酷塔转移
我今天做了新系统,XPsp2,以前连过好多次都没有问题,这次出了大问题:
环境变量(用户):CLASSPATH=.;D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\mssqlserver.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\msbase.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\msutil.jar;D:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\lavender\WEB-INF\lib\movies.jar;C:\j2sdk1.4.2\lib\dt.jar;c:\j2sdk1.4.2\lib\tools.jar
JAVA_HOME=C:\j2sdk1.4.2
TOMCAT_HOME=D:\Program Files\Apache Software Foundation\Tomcat 5.0
连接数据库出现如下错误:
Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /test.jsp(1,4) Invalid directive org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:376) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:90) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:506) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539) org.apache.jasper.compiler.Parser.parse(Parser.java:126) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220) org.apache.jasper.compiler.ParserController.parse(ParserController.java:101) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203) org.apache.jasper.compiler.Compiler.compile(Compiler.java:461) org.apache.jasper.compiler.Compiler.compile(Compiler.java:442) org.apache.jasper.compiler.Compiler.compile(Compiler.java:430) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs.
我这到底是怎么了啊?????高手?高手!来指点指点,谢了