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

Apache's JIRA Issue Tracker | Tom Nguyen | 8 years ago
  1. 0

    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

    Apache's JIRA Issue Tracker | 8 years ago | Tom Nguyen
    java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
  2. 0

    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

    Apache's JIRA Issue Tracker | 8 years ago | Tom Nguyen
    java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
  3. 0

    [Struts-user] "java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable" - Grokbase

    grokbase.com | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    struts2中ava.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDest解决方案

    verydemo.com | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable
  6. 0

    gov.cn | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/struts2/util/ObjectFactoryDestroyable

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/struts2/util/ObjectFactoryDestroyable

      at org.apache.struts2.dispatcher.Dispatcher.cleanup()
    2. Struts2
      FilterDispatcher.destroy
      1. org.apache.struts2.dispatcher.Dispatcher.cleanup(Dispatcher.java:257)
      2. org.apache.struts2.dispatcher.FilterDispatcher.destroy(FilterDispatcher.java:221)
      2 frames
    3. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332)
      2. org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744)
      3. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513)
      4. org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1108)
      5. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
      6. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
      7. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      8. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
      9. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
      10. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
      11. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
      11 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame