当前位置: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 JSPAn error occurred at line: 2 in the jsp file: /jspa/about.jspGenerated servlet error:    [javac] Compiling 1 source fileD:\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.jspGenerated 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.jspGenerated 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.jspGenerated 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.jspGenerated 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.jspGenerated 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

上一个:JSP中浏览本机目录
下一个:XML在B/S架构开发中的应用

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