--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
我用的是Tomcat 5.0+JDKI1.4,我的环境变量是这样设置的(应该没问题的吧):
path=%JAVA_HOME%\bin
JAVA_HOME=c:\j2sdk1.4.2
CATALINA_HOME=c:\tomcat;
CATALINA_BASE=c:\tomcat;
classpath=.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\common\lib\servlet.jar;
我就是在配置CATALINA_HOME=c:\tomcat; CATALINA_BASE=c:\tomcat;的时候,留了个空格就不行,后来我把空格取了就好了,以后大家配置环境变量的时候也要注意下,不要在路径里留下任何空格!现在上一个问题没有了,但是又出现了新的问题,就是不管打哪个页面,只要调用了servlet的就会出现下面的错误提示,你们谁能看懂到底是什么原因,就帮帮小弟!
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /test/score.jsp(7,0) The value for the useBean class attribute determine is invalid.