当前位置: 代码迷 >> Java相关 >> web项目错误求解
  详细解决方案

web项目错误求解

热度:6254   发布时间:2013-02-25 21:46:27.0
web项目异常求解
java.lang.NoClassDefFoundError:   org/apache/struts2/util/ObjectFactoryDestroyable
at   org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:263)
at   org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:238)
at   org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332)
at   org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3731)
at   org.apache.catalina.core.StandardContext.stop(StandardContext.java:4493)
at   org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1097)
at   org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
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:619)
Caused   by:   java.lang.ClassNotFoundException:   org.apache.struts2.util.ObjectFactoryDestroyable
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at   org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at   java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
...   14   more


------解决方案--------------------------------------------------------
struts2-core-2.1.8.jar

没有struts2的核心包
  相关解决方案