-2

当我尝试构建我的动态 Web 项目时,会出现以下日志,我不确定如何解决这个问题..有什么帮助吗?

catalina.2013-09-26.logs

SEVERE: Error filterStart
Sep 26, 2013 4:32:47 PM org.apache.catalina.core.StandardContext s.2013tart
SEVERE: Context [/iaf] startup failed due to previous errors

localhost.2013-09-26.logs

Sep 26, 2013 4:32:47 PM org.apache.catalina.core.StandardContext filterStart


SEVERE: Exception starting filter SessionFilter
java.lang.ClassNotFoundException: sevices.authentication.SessionFilter
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)
    at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1217)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
    at java.lang.Thread.run(Thread.java:679)
4

2 回答 2

0

在您的 Web 应用程序中,缺少一个 class sevices.authentication.SessionFilter

这意味着:

  1. 在您的目录中sevices.authentication.SessionFilter找不到包含的类,或者WEB-INF/lib
  2. 您的 web 应用程序中的 classsevices.authentication.SessionFilter没有编译到WEB-INF/classes文件夹中。

确保您的代码编译时没有错误并正确部署(WAR 文件)。

于 2013-09-26T11:46:42.773 回答
-1

第一个呼叫端口:我会说您的 web.xml 已声明一个过滤器,并且您在定义中的类名错误

于 2013-09-26T11:26:19.767 回答