关于 Unable to compile class for JSP 问题?
晕了
做的 Bean 文件 在tomcat4 里面可以用
j2sdk1.4 的环境
同一台机器, j2sdk 的路径应该没问题
装了一个 tomcat5的版本
把bean 文件拷进去, 结果运行jsp文件提示错误 这是什么问题?
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
An error occurred at line: 4 in the jsp file: /login.jsp
Generated servlet error:
D:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\login_jsp.java:46: cannot resolve symbol
symbol : class dbq
location: class org.apache.jsp.login_jsp
dbq db = null;
^
bean 文件放在 D:\Tomcat 5.0\webapps\ROOT\WEB-INF 下 。应该没问题啊