A股上市公司传智教育(股票代码 003032)旗下技术交流社区北京昌平校区

 找回密码
 加入黑马

QQ登录

只需一步,快速开始

HTTP Status 500 - Error instantiating servlet class cn.itcast.FirstServlet
type Exception report
message Error instantiating servlet class cn.itcast.FirstServlet
description The server encountered an internal error that prevented it from fulfilling this request.
exception javax.servlet.ServletException: Error instantiating servlet class cn.itcast.FirstServlet        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)        org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)        org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)        org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)        org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)        java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)        java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)        java.lang.Thread.run(Thread.java:722)
root cause java.lang.IllegalAccessException: Class org.apache.catalina.core.DefaultInstanceManager can not access a member of class cn.itcast.FirstServlet with modifiers ""        sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)        java.lang.Class.newInstance0(Class.java:368)        java.lang.Class.newInstance(Class.java:327)        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)        org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)        org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)        org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)        org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)        java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)        java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)        java.lang.Thread.run(Thread.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs.

捕获.PNG (182.6 KB, 下载次数: 11)

捕获.PNG

捕获.PNG (182.6 KB, 下载次数: 5)

捕获.PNG

0 个回复

您需要登录后才可以回帖 登录 | 加入黑马