日期:2014-05-18  浏览次数:20671 次

请大家帮我看看这些错误是什么原因造成的呀?我这个例子还是照书写的呢,可运行好几遍总有错误!
org.apache.catalina.core.StandardWrapperValve   invoke
严重:   Servlet.service()   for   servlet   jsp   threw   exception
java.lang.ClassNotFoundException:   org.apache.jsp.response.response_jsp
at   java.net.URLClassLoader$1.run(Unknown   Source)
at   java.security.AccessController.doPrivileged(Native   Method)
at   java.net.URLClassLoader.findClass(Unknown   Source)
at   org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
at   org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
at   org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:597)
at   org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:141)
at   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
at   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at   org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at   org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at   org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at   java.lang.Thread.run(Unknown   Source)

------解决方案--------------------
代码哪去了

------解决方案--------------------
ClassNotFoundException的话多半是配置文件没有写对。
------解决方案--------------------
ClassNotFoundException是类没有找到....
------解决方案--------------------
包的问题为主