日期:2014-05-20  浏览次数:20801 次

struts2中ava.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDest
一重启就出现问题
信息: Reloading context [/testauth1]
2010-4-21 16:50:40 org.apache.catalina.core.ContainerBase stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/testauth1].[jsp] has not been started
2010-4-21 16:50:40 org.apache.catalina.core.ContainerBase stop
信息: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/testauth1].[default] has not been started
2010-4-21 16:50:40 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren
严重: Exception invoking periodic operation: 
java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:257)
at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:225)
at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332)
at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1108)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
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(Unknown Source)

------解决方案--------------------
探讨
都导进去了,有一个工程出问题了,我就删了
昨天下午也是这样的

------解决方案--------------------
把tomcat目录下work文件夹删除,再启动尝试一下。