问答详情
源自:4-1 [Java Web] 过滤器链

求教!!!!我启动tomcat 报这样的错误怎么解决?

严重: Error configuring application listener of class com.lietener.servletContextListener
java.lang.ClassNotFoundException: com.lietener.servletContextListener
 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858)
 at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)
 at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:504)
 at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:486)
 at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:113)
 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4984)
 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1572)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1562)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 at java.lang.Thread.run(Thread.java:745)

提问者:Micah_muke 2016-05-07 11:47

个回答

  • 幕布斯4560615
    2016-05-08 23:57:06
    已采纳

    java.lang.ClassNotFoundException: com.lietener.servletContextListener

    这句,找不到类,类名是不是写错了,看看是不是com.listener拼错了

  • 连宏伟HW
    2016-07-12 21:37:33

    找不到类,看看你的包的路径