项目报错啊,但是代码没问题啊应该严重: Allocate exception for servlet InitTalkServlet java.lang.ClassNotFoundException: com.imooc.servlet.InitTalkServlet at

来源:4-6 实现自动回复功能(上)

十二指环

2018-03-05 15:52

严重: Allocate exception for servlet InitTalkServlet

java.lang.ClassNotFoundException: com.imooc.servlet.InitTalkServlet

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)

at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:495)

at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:477)

at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)

at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:853)

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

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

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)

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

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

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)

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

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

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

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


写回答 关注

1回答

  • 律动的小刘海_
    2018-03-06 15:20:51

    没有找到

    com.imooc.servlet.InitTalkServlet

    这个类。

    橘子蜜柑

    那应该怎么解决?

    2019-05-28 15:41:20

    共 1 条回复 >

通过自动回复机器人学Mybatis---基础版

微信公众号自动回复功能学习Mybatis,基础教程加案例实战方式学习

107413 学习 · 786 问题

查看课程

相似问题