为了账号安全,请及时绑定邮箱和手机立即绑定

HTTP Status 500

HTTP Status 500

alohaXL 2016-12-09 01:10:59
HTTP Status 500 - Error instantiating servlet class com.imooc.servlet.SmartDownloadServlettype Exception reportmessage Error instantiating servlet class com.imooc.servlet.SmartDownloadServletdescription The server encountered an internal error that prevented it from fulfilling this request.exception javax.servlet.ServletException: Error instantiating servlet class com.imooc.servlet.SmartDownloadServlet org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) 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.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) root cause java.lang.ClassNotFoundException: com.imooc.servlet.SmartDownloadServlet org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) 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.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.42 logs 
查看完整描述

3 回答

已采纳
?
yanrun

TA贡献317条经验 获得超240个赞

//img1.sycdn.imooc.com//584a4d530001ac1106070084.jpg

错误是没有找到com.imooc.servlet.SmartDownloadServletz这个类


查看完整回答
反对 回复 2016-12-09
  • alohaXL
    alohaXL
    正解。 请问一下阅读这些错误,要从哪里开始? 有没有教程可以学习? 拜谢!
?
一瞬儿光

TA贡献178条经验 获得超70个赞

java代码有错误

查看完整回答
反对 回复 2016-12-09
  • alohaXL
    alohaXL
    可以问一下怎么样查看是哪里错误(哪一个servlet?哪一行)? 我对些错误还不知道怎么解读。 或者哪里可以学习? 谢谢
  • 3 回答
  • 0 关注
  • 1403 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信