首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

小弟新手 tomcat报错 http500

2013-09-11 
求助 小弟新手 tomcat报错 http500HTTP Status 500 ---------------------------------------------type E

求助 小弟新手 tomcat报错 http500
HTTP Status 500 - 

--------------------------------------------

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
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:434)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:492)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:471)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.commsoft.ypass.smp.filter.UserSessionValidateFilter.doFilter(UserSessionValidateFilter.java:79)
com.commsoft.ypass.smp.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:59)


root cause 

Compile failed; see the compiler error output for details.
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:938)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:402)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:492)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:471)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.commsoft.ypass.smp.filter.UserSessionValidateFilter.doFilter(UserSessionValidateFilter.java:79)
com.commsoft.ypass.smp.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:59)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.29 logs.


--------------------------------------------

Apache Tomcat/5.0.29

以上是报错的信息、 哪位大哥能帮我看看、 无比感谢

[解决办法]
Unable to compile class for JSP --jsp不能编译

com.commsoft.ypass.smp.filter.UserSessionValidateFilter.doFilter(UserSessionValidateFilter.java:79)


看看UserSessionValidateFilter.java这个的79行


[解决办法]
我个人认为这个是个内部的服务器错误,请求被阻止,个人建议你仔细的看一下tomcat的配置是不是正确的
[解决办法]
com.commsoft.ypass.smp.filter.UserSessionValidateFilter.doFilter这个就好像跟UserSessionValidateFilter.java的路径有关,你可以参考着找一下。再有tomcat5就应该用jdk1.5吧,你用对了吗?
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexception.cn/java-web/317.html
我的异常网推荐解决方案:org.apache.jasper.JasperException: Unable to compile class,http://www.myexception.cn/j2ee/2308.html

热点排行