当我开始通过Tomcat服务器运行我的Java应用程序时,我遇到了这种错误。我该怎么办?

时间:2017-12-07 03:21:24

标签: java eclipse tomcat

Tomcat身份验证过滤器错误。

Dec 07, 2017 11:15:51 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter AuthenticationFilter
java.lang.ClassNotFoundException: gov.da.jmrs.webapp.filters.AuthenticationFilter
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1339)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
    at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:509)
    at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:490)
    at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
    at 

org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4700)     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5340)     在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)     在org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1408)     在org.apache.catalina.core.ContainerBase $ StartChild.call(ContainerBase.java:1398)     at java.util.concurrent.FutureTask.run(FutureTask.java:266)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)     在java.lang.Thread.run(Thread.java:745)

1 个答案:

答案 0 :(得分:0)

检查你的classpath,缺少classptah的类。 阅读本主题以了解更多信息 How do I resolve ClassNotFoundException?