清除Work缓存后,重启tomcat,出现不能编译JSP文件的问题
RT,清除Work缓存后,重启tomcat,出现如下问题: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.JspCompilationContext.compile(JspCompilationContext.java:604)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.evaluate.filter.UserCheckFilter.doFilter(UserCheckFilter.java:143)
root cause
java.io.FileNotFoundException: no such file: /usr/local/tomcat6/work/Catalina/localhost/publishg/org/apache/jsp/guidance/list_jsp.class
org.apache.jasper.compiler.SmapUtil$SDEInstaller.<init>(SmapUtil.java:253)
org.apache.jasper.compiler.SmapUtil$SDEInstaller.install(SmapUtil.java:241)
org.apache.jasper.compiler.SmapUtil.installSmap(SmapUtil.java:165)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:454)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.evaluate.filter.UserCheckFilter.doFilter(UserCheckFilter.java:143)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.
Apache Tomcat/6.0.29
这是为何啊,好蛋疼啊,求助!! tomcat jsp --------------------编程问答-------------------- 没遇到过,每次都都是删除localhost下的内容,不用重启tomcat --------------------编程问答-------------------- 重新编译才行,都没有class文件 --------------------编程问答--------------------
嗯,虽然是合格问题,今天去查看服务器才发现是由于根目录满了才导致这个问题。 --------------------编程问答-------------------- 这个,唉,打错字了
补充:Java , Web 开发