当前位置:web 服务器 > Tomcat >>

求助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: omcatworkStandalonelocalhost_jspaabout_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: omcatworkStandalonelocalhost_jspaabout_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: omcatworkStandalonelocalhost_jspaabout_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: omcatworkStandalonelocalhost_jspaabout_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: omcatworkStandalonelocalhost_jspaabout_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: omcatworkStandalonelocalhost_jspaabout_jsp.java:84: package test does not exist
board = (test.bbsboard) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "test.bbsboard");
^
6 errors

补充:Jsp教程,Jsp/Servlet开发工具 
Apache
IIS
Nginx
Tomcat
如果你遇到web 服务器难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,