当前位置: 技术问答>java相关
请帮我分析一下这个错误信息
来源: 互联网 发布时间:2015-04-17
本文导语: Error: 500 Location: /CSTreeBean-0.3exampleTreeFrames.jspInternal Servlet Error:org.apache.jasper.JasperException: Unable to compile class for JSPD:QB_webrootworklocalhost_8080_0002f_0002fCSTreeBean_0002d_00030_0002e_00033_0002fexample_0002fTreeFrames_0002ejspTreeFrames_jsp...
Error: 500 Location: /CSTreeBean-0.3exampleTreeFrames.jspInternal Servlet Error:org.apache.jasper.JasperException: Unable to compile class for JSPD:QB_webrootworklocalhost_8080_0002f_0002fCSTreeBean_0002d_00030_0002e_00033_0002fexample_0002fTreeFrames_0002ejspTreeFrames_jsp_0.java:1: Identifier expected.
package .CSTreeBean_0002d_00030_0005f_00033.example;
^
D:QB_webrootworklocalhost_8080_0002f_0002fCSTreeBean_0002d_00030_0002e_00033_0002fexample_0002fTreeFrames_0002ejspTreeFrames_jsp_0.java:17: Superclass HttpJspBase of class _0002f_0002fCSTreeBean_0002d_00030_0002e_00033_0002fexample_0002fTreeFrames_0002ejspTreeFrames_jsp_0 not found.
public class _0002f_0002fCSTreeBean_0002d_00030_0002e_00033_0002fexample_0002fTreeFrames_0002ejspTreeFrames_jsp_0 extends HttpJspBase {
^
2 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
这是什么错误????
盼高手解答。
package .CSTreeBean_0002d_00030_0005f_00033.example;
^
D:QB_webrootworklocalhost_8080_0002f_0002fCSTreeBean_0002d_00030_0002e_00033_0002fexample_0002fTreeFrames_0002ejspTreeFrames_jsp_0.java:17: Superclass HttpJspBase of class _0002f_0002fCSTreeBean_0002d_00030_0002e_00033_0002fexample_0002fTreeFrames_0002ejspTreeFrames_jsp_0 not found.
public class _0002f_0002fCSTreeBean_0002d_00030_0002e_00033_0002fexample_0002fTreeFrames_0002ejspTreeFrames_jsp_0 extends HttpJspBase {
^
2 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
这是什么错误????
盼高手解答。
|
你的servlet的包怎么那么长,我是在JSP页面中调用这个bean的:
其参数设置你可以根据你的具体情况参考它的example来修改。
至于如何在servlet中使用,你可以参考这个jsp文件来修改。
Tree Pane
function go_register()
{
self.location="register.jsp";
}
@import "index2.css";
登
陆
用 户
用户:
密码:
新用户注册
其参数设置你可以根据你的具体情况参考它的example来修改。
至于如何在servlet中使用,你可以参考这个jsp文件来修改。
Tree Pane
function go_register()
{
self.location="register.jsp";
}
@import "index2.css";
登
陆
用 户
用户:
密码:
新用户注册
|
没程序啊!
我猜不出来!
我猜不出来!
|
估计是标识符或类名写错了。你可以把生成的java文件打开看看,错误应该是在第1行和第17行,要不你把程序贴出来让大家看看。