java.lang.NoClassDefFoundError: org/apache/activemq/ra/LocalAndXATransaction

servicemix-dev | Freeman Fang (JIRA) | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [jira] Resolved: (SMX4-104) servicemix-wsn2005 failed to start

    servicemix-dev | 8 years ago | Freeman Fang (JIRA)
    java.lang.NoClassDefFoundError: org/apache/activemq/ra/LocalAndXATransaction
  2. 0

    Problem with Tomcat - unable to start webapp [Archive] - Java-Monitor Forum

    java-monitor.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext at org.apache.myfaces.trinidadinternal.webapp.Trinida dListenerImpl.contextDestroyed(TrinidadListenerImp l.java:39) at org.apache.catalina.core.StandardContext.listenerS top(StandardContext.java:3882) at org.apache.catalina.core.StandardContext.stop(Stan dardContext.java:4523) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4387) at org.apache.catalina.manager.ManagerServlet.start(M anagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.sta rt(HTMLManagerServlet.java:604) at org.apache.catalina.manager.HTMLManagerServlet.doG et(HTMLManagerServlet.java:129) at javax.servlet.http.HttpServlet.service(HttpServlet .java:617) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
  3. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.<init>(AbstractAutowireCapableBeanFactory. java:121) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.<init>(AbstractAutowireCapableBeanFactory. java:168) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.DefaultL istableBeanFactory. <init>(DefaultListableBeanFactory.java:163) ~[spring-beans-3.1.4.RELEASE.jar:3.1 .4.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.createBeanFactory(AbstractRefreshableApplicat ionContext.java:194) ~[spring- context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.refreshBeanFactory(AbstractRefreshableApplica tionContext.java:127) ~[spring -context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.obtain FreshBeanFactory(AbstractApplicationContext.java:5 37) ~[spring-context-3.2.2.REL EASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.refres h(AbstractApplicationContext.java:451) ~[spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.web.context.ContextLoader.conf igureAndRefreshWebA pplicationContext(ContextLoader.java:389) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.R ELEASE] at org.springframework.web.context.ContextLoader.init WebApplicationConte xt(ContextLoader.java:294) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextInitiali zed(ContextLoaderListener.java:112) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS tart(StandardContex t.java:4791) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.startInte rnal(StandardContex t.java:5285) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Grails : production server only : spring.ReloadAwareAutowireCapableBeanFactory

    Stack Overflow | 3 years ago | Snite
    java.lang.NoClassDefFoundError: org/springframework/orm/jpa/EntityManagerFactoryUtils
  6. 0

    Could not initialize class javax.imageio.ImageIO

    worldwindcentral.com | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO at gov.nasa.worldwind.formats.dds.DDSCompre ssor.compressImageURL(DDSCompressor.java :295) at gov.nasa.worldwind.layers.BasicTiledImag eLayer.readTexture(BasicTiledImageLayer. java:384) at gov.nasa.worldwind.layers.BasicTiledImag eLayer.loadTexture(BasicTiledImageLayer. java:342) at gov.nasa.worldwind.layers.BasicTiledImag eLayer$RequestTask.run(BasicTiledImageLa yer.java:263) at java.util.concurrent.ThreadPoolExecutor. runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$ Worker.run(Unknown Source)

    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/activemq/ra/LocalAndXATransaction

      at org.apache.activemq.pool.JcaPooledConnectionFactory.createConnectionPool()
    2. ActiveMQ :: Pool
      PooledConnectionFactory.createConnection
      1. org.apache.activemq.pool.JcaPooledConnectionFactory.createConnectionPool(JcaPooledConnectionFactory.java:49)
      2. org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:111)
      3. org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:81)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    4. Spring OSGi Core
      ServiceInvoker.invoke
      1. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:64)
      2. org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:78)
      2 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames
    6. Spring OSGi Core
      ServiceTCCLInterceptor.invoke
      1. org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:36)
      1 frame
    7. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      1 frame
    8. Spring OSGi Core
      LocalBundleContextAdvice.invoke
      1. org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      1 frame
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      5. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      5 frames
    10. Unknown
      $Proxy74.createConnection
      1. $Proxy74.createConnection(Unknown Source)
      1 frame
    11. org.apache.servicemix
      ServiceRegistryImpl.register
      1. org.apache.servicemix.wsn.jms.JmsNotificationBroker.init(JmsNotificationBroker.java:48)
      2. org.apache.servicemix.wsn.component.WSNComponent.doInit(WSNComponent.java:159)
      3. org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:193)
      4. org.apache.servicemix.jbi.deployer.impl.ComponentImpl$ComponentWrapper.init(ComponentImpl.java:244)
      5. org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:97)
      6. org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:37)
      7. org.apache.servicemix.nmr.core.ServiceRegistryImpl.register(ServiceRegistryImpl.java:47)
      7 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    13. Spring OSGi Core
      OsgiServiceCollection$Listener.serviceChanged
      1. org.springframework.osgi.util.internal.ReflectionUtils.invokeMethod(ReflectionUtils.java:108)
      2. org.springframework.osgi.config.CustomListenerAdapterUtils.invokeCustomMethods(CustomListenerAdapterUtils.java:154)
      3. org.springframework.osgi.config.OsgiServiceLifecycleListenerAdapter.bind(OsgiServiceLifecycleListenerAdapter.java:186)
      4. org.springframework.osgi.service.importer.support.internal.util.OsgiServiceBindingUtils.callListenersBind(OsgiServiceBindingUtils.java:50)
      5. org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceCollection$Listener.serviceChanged(OsgiServiceCollection.java:106)
      5 frames
    14. Apache Felix Framework
      BundleContextImpl.registerService
      1. org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:765)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:623)
      3. org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:554)
      4. org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3612)
      5. org.apache.felix.framework.Felix.access$000(Felix.java:36)
      6. org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:626)
      7. org.apache.felix.framework.ServiceRegistry.fireServiceChanged(ServiceRegistry.java:559)
      8. org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:75)
      9. org.apache.felix.framework.Felix.registerService(Felix.java:2702)
      10. org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:254)
      11. org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:232)
      11 frames
    15. org.apache.servicemix
      Deployer$1.addingService
      1. org.apache.servicemix.jbi.deployer.impl.Deployer.registerService(Deployer.java:435)
      2. org.apache.servicemix.jbi.deployer.impl.Deployer.maybeWrapComponent(Deployer.java:402)
      3. org.apache.servicemix.jbi.deployer.impl.Deployer$1.addingService(Deployer.java:130)
      3 frames
    16. OSGi
      ServiceTracker$Tracked.serviceChanged
      1. org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1021)
      2. org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.java:999)
      3. org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:924)
      3 frames
    17. Apache Felix Framework
      BundleContextImpl.registerService
      1. org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:765)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:623)
      3. org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:554)
      4. org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3612)
      5. org.apache.felix.framework.Felix.access$000(Felix.java:36)
      6. org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:626)
      7. org.apache.felix.framework.ServiceRegistry.fireServiceChanged(ServiceRegistry.java:559)
      8. org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:75)
      9. org.apache.felix.framework.Felix.registerService(Felix.java:2702)
      10. org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:254)
      10 frames
    18. Spring OSGi Core
      MandatoryDependencyBeanPostProcessor.postProcessAfterInitialization
      1. org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.registerService(OsgiServiceFactoryBean.java:401)
      2. org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.registerService(OsgiServiceFactoryBean.java:371)
      3. org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean$Executor.registerService(OsgiServiceFactoryBean.java:147)
      4. org.springframework.osgi.service.exporter.support.internal.controller.ExporterController.registerService(ExporterController.java:40)
      5. org.springframework.osgi.service.dependency.internal.DefaultMandatoryDependencyManager.startExporter(DefaultMandatoryDependencyManager.java:287)
      6. org.springframework.osgi.service.dependency.internal.DefaultMandatoryDependencyManager.checkIfExporterShouldStart(DefaultMandatoryDependencyManager.java:237)
      7. org.springframework.osgi.service.dependency.internal.DefaultMandatoryDependencyManager.discoverDependentImporterFor(DefaultMandatoryDependencyManager.java:230)
      8. org.springframework.osgi.service.dependency.internal.DefaultMandatoryDependencyManager.addServiceExporter(DefaultMandatoryDependencyManager.java:161)
      9. org.springframework.osgi.service.dependency.internal.MandatoryDependencyBeanPostProcessor.postProcessAfterInitialization(MandatoryDependencyBeanPostProcessor.java:46)
      9 frames
    19. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1343)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      4 frames
    20. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    21. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
      7 frames
    22. Spring Context
      AbstractApplicationContext.finishBeanFactoryInitialization
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
      1 frame
    23. Spring OSGi Core
      AbstractDelegatedExecutionApplicationContext.completeRefresh
      1. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:276)
      1 frame
    24. org.springframework.osgi
      DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run
      1. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:145)
      1 frame
    25. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame