java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I've already have WebRoot\WEB-INF\lib\struts2-core-2.1.2.jar contains the ObjectFactoryDestroyable interface. But when I reload the webapp or redeploy, tomcat throws this exception. Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processC hildren SEVERE: 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:221) 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(Conta inerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav a:1590) at java.lang.Thread.run(Thread.java:619) Dec 17, 2008 8:32:43 PM org.apache.catalina.core.StandardContext reload INFO: Reloading this Context has started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/forumnomics].[jsp] h as not been started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/forumnomics].[defaul t] has not been started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase backgroundProcess WARNING: Exception processing loader WebappLoader[/forumnomics] background process java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java: 2001) at org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:961) at org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1096) at com.opensymphony.xwork2.util.ClassLoaderUtil.getResource(ClassLoaderUtil.java:83) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(LocationUtils.java:288) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(LocationUtils.java:202) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:93) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:76) at com.opensymphony.xwork2.config.ConfigurationException.<init>(ConfigurationException.java: 64) at org.apache.struts2.config.DefaultPropertiesProvider.register(DefaultPropertiesProvider.ja va:47) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfigura tion.java:156) at com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManage r.java:252) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager .java:61) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774) at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:242) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:261) 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.core.StandardContext.reload(StandardContext.java:3093) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav a:1590) at java.lang.Thread.run(Thread.java:619) Dec 17, 2008 8:32:46 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Dec 17, 2008 8:32:47 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Dec 17, 2008 8:32:47 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/price].[jsp] has not been started Dec 17, 2008 8:32:47 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/price].[default] has not been started Dec 17, 2008 8:32:47 PM org.apache.catalina.startup.HostConfig undeployApps WARNING: Error while removing context [/price] java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
    via by Tom Nguyen,
  • I've already have WebRoot\WEB-INF\lib\struts2-core-2.1.2.jar contains the ObjectFactoryDestroyable interface. But when I reload the webapp or redeploy, tomcat throws this exception. Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processC hildren SEVERE: 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:221) 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(Conta inerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav a:1590) at java.lang.Thread.run(Thread.java:619) Dec 17, 2008 8:32:43 PM org.apache.catalina.core.StandardContext reload INFO: Reloading this Context has started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/forumnomics].[jsp] h as not been started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/forumnomics].[defaul t] has not been started Dec 17, 2008 8:32:43 PM org.apache.catalina.core.ContainerBase backgroundProcess WARNING: Exception processing loader WebappLoader[/forumnomics] background process java.lang.NullPointerException at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java: 2001) at org.apache.catalina.loader.WebappClassLoader.findResource(WebappClassLoader.java:961) at org.apache.catalina.loader.WebappClassLoader.getResource(WebappClassLoader.java:1096) at com.opensymphony.xwork2.util.ClassLoaderUtil.getResource(ClassLoaderUtil.java:83) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(LocationUtils.java:288) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(LocationUtils.java:202) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:93) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:76) at com.opensymphony.xwork2.config.ConfigurationException.<init>(ConfigurationException.java: 64) at org.apache.struts2.config.DefaultPropertiesProvider.register(DefaultPropertiesProvider.ja va:47) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfigura tion.java:156) at com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManage r.java:252) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager .java:61) at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774) at org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:242) at org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:261) 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.core.StandardContext.reload(StandardContext.java:3093) at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:404) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1601) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(Conta inerBase.java:1610) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.jav a:1590) at java.lang.Thread.run(Thread.java:619) Dec 17, 2008 8:32:46 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Dec 17, 2008 8:32:47 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Dec 17, 2008 8:32:47 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/price].[jsp] has not been started Dec 17, 2008 8:32:47 PM org.apache.catalina.core.ContainerBase stop INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/price].[default] has not been started Dec 17, 2008 8:32:47 PM org.apache.catalina.startup.HostConfig undeployApps WARNING: Error while removing context [/price] java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
    via by Tom Nguyen,
  • No title
    via by Unknown author,
  • Problem in configuring Sturts framework
    via by S. M. Sabbir,
    • 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:221) 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(Thread.java:619)

    Users with the same issue

    Unknown visitor1 times, last one,