当前页面: 开发资料首页 → JSP 专题 → 求助jsp与tomcat 运行jsp+access 的论坛 出现错误
摘要: 求助jsp与tomcat 运行jsp+access 的论坛 出现错误
在我的服务器上运行
论坛程序时出现以下问题....请高手指点啊
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: 2 in the jsp file: /jspa/about.jsp Generated servlet error: [javac] Compiling 1 source file D:\tomcat\work\Standalone\localhost\_\jspa\about_jsp.java:64: package test does not exist test.bbsuser user = null; ^ An error occurred at line: 2 in the jsp file: /jspa/about.jsp Generated servlet error: D:\tomcat\work\Standalone\localhost\_\jspa\about_jsp.java:66: package test does not exist user = (test.bbsuser) pageContext.getAttribute("user", PageContext.PAGE_SCOPE); ^ An error occurred at line: 2 in the jsp file: /jspa/about.jsp Generated servlet error: D:\tomcat\work\Standalone\localhost\_\jspa\about_jsp.java:69: package test does not exist user = (test.bbsuser) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "test.bbsuser"); ^ An error occurred at line: 3 in the jsp file: /jspa/about.jsp Generated servlet error: D:\tomcat\work\Standalone\localhost\_\jspa\about_jsp.java:79: package test does not exist test.bbsboard board = null; ^ An error occurred at line: 3 in the jsp file: /jspa/about.jsp Generated servlet error: D:\tomcat\work\Standalone\localhost\_\jspa\about_jsp.java:81: package test does not exist board = (test.bbsboard) pageContext.getAttribute("board", PageContext.PAGE_SCOPE); ^ An error occurred at line: 3 in the jsp file: /jspa/about.jsp Generated servlet error: D:\tomcat\work\Standalone\localhost\_\jspa\about_jsp.java:84: package test does not exist board = (test.bbsboard) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "test.bbsboard"); ^ 6 errors