java.lang.NoClassDefFoundError

Oracle Community | User392737 | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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)
  2. 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]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Grails : production server only : spring.ReloadAwareAutowireCapableBeanFactory

    Stack Overflow | 3 years ago | Snite
    java.lang.NoClassDefFoundError: org/springframework/orm/jpa/EntityManagerFactoryUtils
  5. 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

      No message provided

      at NotificationServiceBean_LocalHomeProxy_68d4144.getSingletonInstance()
    2. Unknown
      NotificationServiceBean_LocalHomeProxy_68d4144.getSingletonInstance
      1. NotificationServiceBean_LocalHomeProxy_68d4144.getSingletonInstance(Unknown Source)
      1 frame
    3. com.evermind.server
      AbstractEJBHome.OC4J_invokeMethod
      1. com.evermind.server.ejb.interceptor.joinpoint.StatelessCreateJoinPointImpl.invoke(StatelessCreateJoinPointImpl.java:24)
      2. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      3. com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      4. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      5. com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
      6. com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:723)
      6 frames
    4. Unknown
      NotificationServiceBean_LocalHomeProxy_68d4144.create
      1. NotificationServiceBean_LocalHomeProxy_68d4144.create(Unknown Source)
      1 frame
    5. oracle.bpel.services
      NotificationUtil.lookupLocalBean
      1. oracle.bpel.services.notification.NotificationUtil.lookupLocalBean(NotificationUtil.java:407)
      1 frame
    6. oracle.tip.pc
      NotificationService.sendEmailNotification
      1. oracle.tip.pc.services.notification.NotificationService.sendEmailNotification(NotificationService.java:362)
      2. oracle.tip.pc.services.notification.NotificationService.sendEmailNotification(NotificationService.java:344)
      2 frames
    7. 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
    8. com.collaxa.cube
      CubeDeliveryBean.handleInvoke
      1. com.collaxa.cube.ws.wsif.providers.java.WSIFOperation_Java.executeRequestResponseOperation(WSIFOperation_Java.java:1019)
      2. com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:476)
      3. com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:436)
      4. com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
      5. com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:790)
      6. com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:395)
      7. com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
      8. com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3715)
      9. com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
      10. com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
      11. com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
      12. com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:317)
      13. com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5710)
      14. com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1085)
      15. com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:535)
      16. com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
      16 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    10. com.evermind.server
      JAASInterceptor$1.run
      1. com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
      2. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      3. com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      4. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      5. com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
      5 frames
    11. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:396)
      2 frames
    12. com.evermind.server
      StatelessSessionEJBObject.OC4J_invokeMethod
      1. com.evermind.server.ThreadState.runAs(ThreadState.java:648)
      2. com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
      3. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      4. com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
      5. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      6. com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      7. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      8. com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
      9. com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
      9 frames
    13. Unknown
      CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke
      1. CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
      1 frame
    14. com.collaxa.cube
      WorkerBean.onMessage
      1. com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
      2. com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:142)
      3. com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
      4. com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
      4 frames
    15. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    16. com.evermind.server
      InvocationContextPool.invoke
      1. com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
      2. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      3. com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
      4. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      5. com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
      6. com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
      7. com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
      7 frames
    17. oracle.j2ee.connector
      MessageEndpointImpl.OC4J_invokeMethod
      1. oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
      1 frame
    18. Unknown
      WorkerBean_EndPointProxy_4bin6i8.onMessage
      1. WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
      1 frame
    19. oracle.j2ee.ra
      WorkConsumer.run
      1. oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:266)
      1 frame
    20. oracle.j2ee.connector
      WorkWrapper.run
      1. oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
      2. oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
      3. oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
      3 frames
    21. Dough Lea's util.concurrent package
      PooledExecutor$Worker.run
      1. EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
      1 frame
    22. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame