请问:下面jsp错误提示是因为什么没有配置好????

feigmin 2001-09-07 02:20:05
程序应该没问题

Error: 500
Location: /examples/bbs/bbslist.jsp
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:104: ???? test.bbs?
test.bbs bbs = null;
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:107: ???? test.bbs?
bbs= (test.bbs)
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:112: ???? test.bbs?
bbs = (test.bbs) Beans.instantiate(getClassLoader(), "test.bbs");
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:128: ???? test.bbsboard?
test.bbsboard board = null;
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:131: ???? test.bbsboard?
board= (test.bbsboard)
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:136: ???? test.bbsboard?
board = (test.bbsboard) Beans.instantiate(getClassLoader(), "test.bbsboard");
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:152: ???? test.bbscom?
test.bbscom bbscom = null;
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:155: ???? test.bbscom?
bbscom= (test.bbscom)
^
C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java:160: ???? test.bbscom?
bbscom = (test.bbscom) Beans.instantiate(getClassLoader(), "test.bbscom");
^
???C:\tomcat\work\localhost_8080%2Fexamples\_0002fbbs_0002fbbslist_0002ejspbbslist_jsp_0.java ???????????? API???-deprecation?????????????
9 ???, 1 ???

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source)

...全文
14 点赞 收藏 1
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
vdragon 2001-09-07
应该是路径的问题。
把test目录下的class都copy到web-inf/classes/test中
回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2001-09-07 02:20
社区公告
暂无公告