当前位置: 技术问答>java相关
servlet的问题(在线给分)
来源: 互联网 发布时间:2015-06-07
本文导语: type Exception report message Internal Server Error description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JS...
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 11 in the jsp file: /xlt/login_confirm.jsp
Generated servlet error:
G:JBuilder6jakarta-tomcat-4.0.1worklocalhost_xltlogin_0005fconfirm$jsp.java:73: Class mydb.mydb not found.
mydb.mydb LoginBean = null;
^
请教这是CLASSPATH没设置对吗?
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 11 in the jsp file: /xlt/login_confirm.jsp
Generated servlet error:
G:JBuilder6jakarta-tomcat-4.0.1worklocalhost_xltlogin_0005fconfirm$jsp.java:73: Class mydb.mydb not found.
mydb.mydb LoginBean = null;
^
请教这是CLASSPATH没设置对吗?
|
是没找到这个类
可能是mydb.mydb的位置方的不对
可能是mydb.mydb的位置方的不对
|
把该类打包放在类路径中,或直接将类路径指向该目录