这是什么问题Source not found for JspServletWrapper.service(HttpServletRequest, HttpServletResponse, boolean) line: 439

来源:6-4 案例:Cookie在登录中的应用

慕粉夜夜夜夜

2016-11-08 17:14

严重: Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: Unable to compile class for JSP: 


An error occurred at line: 8 in the generated java file

The type com.sun.org.apache.xalan.internal.xsltc.compiler.ForEach is not visible


An error occurred at line: 9 in the generated java file

The type org.apache.taglibs.standard.tag.common.core.ForEachSupport.ForEachIterator is not visible


Stacktrace:

at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)

at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)

at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

at java.lang.Thread.run(Thread.java:619)

2016-11-8 17:22:24 org.apache.catalina.core.StandardWrapperValve invoke

严重: Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: Unable to compile class for JSP: 


An error occurred at line: 8 in the generated java file

The type com.sun.org.apache.xalan.internal.xsltc.compiler.ForEach is not visible


An error occurred at line: 9 in the generated java file

The type org.apache.taglibs.standard.tag.common.core.ForEachSupport.ForEachIterator is not visible


写回答 关注

1回答

  • Qiakong
    2016-11-08 21:09:42

    资源未找到,应该是你要 forward的页面和你写这个代码的页面不在同一个资源下

JAVA遇见HTML——JSP篇

Java Web入门级教程JSP,带你轻松的学习JSP基础知识

248278 学习 · 3071 问题

查看课程

相似问题