java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

GitHub | Aldur300 | 1 year ago
  1. 0

    GitHub comment 493#154369471

    GitHub | 1 year ago | harf18
    javax.xml.ws.WebServiceException: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  2. 0

    GitHub comment 266#151252393

    GitHub | 1 year ago | Aldur300
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ClassNotFoundException when using war classes with JCache api

    GitHub | 2 years ago | smillidge
    com.hazelcast.nio.serialization.HazelcastSerializationException: java.lang.ClassNotFoundException: fish.payara.jsr107.test.TestPojo not found by com.hazelcast [304]
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.ClassNotFoundException

    org.apache.commons.logging.LogFactory not found by org.glassfish.metro.webservices-osgi [289]

    at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation()
  2. Apache Felix Framework
    BundleWiringImpl$BundleClassLoader.loadClass
    1. org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
    2. org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
    3. org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
    3 frames
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    1 frame
  4. Apache XML Security for Java
    Init.<init>
    1. org.apache.xml.security.Init.<init>(Init.java:59)
    1 frame
  5. Metro Web Services Runtime OSGi Bundle
    WSITServerAuthContext.validateRequest
    1. com.sun.xml.ws.security.opt.impl.incoming.SecurityRecipient.<init>(SecurityRecipient.java:132)
    2. com.sun.xml.wss.provider.wsit.WSITServerAuthContext.verifyInboundMessage(WSITServerAuthContext.java:587)
    3. com.sun.xml.wss.provider.wsit.WSITServerAuthContext.validateRequest(WSITServerAuthContext.java:364)
    4. com.sun.xml.wss.provider.wsit.WSITServerAuthContext.validateRequest(WSITServerAuthContext.java:267)
    4 frames
  6. com.sun.enterprise
    CommonServerSecurityPipe.process
    1. com.sun.enterprise.security.webservices.CommonServerSecurityPipe.processRequest(CommonServerSecurityPipe.java:170)
    2. com.sun.enterprise.security.webservices.CommonServerSecurityPipe.process(CommonServerSecurityPipe.java:141)
    2 frames
  7. JAX-WS RI Runtime Bundle
    ServletAdapter.handle
    1. com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:119)
    2. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
    3. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
    4. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
    5. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:877)
    6. com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:419)
    7. com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:868)
    8. com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:422)
    9. com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:169)
    9 frames
  8. JSR-109 implementation to deploy Metro
    EjbWebServiceServlet.service
    1. org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:110)
    2. org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:80)
    3. org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:210)
    4. org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:153)
    4 frames
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    1 frame
  10. grizzly-http-servlet
    ServletHandler.service
    1. org.glassfish.grizzly.servlet.ServletHandler.doServletService(ServletHandler.java:226)
    2. org.glassfish.grizzly.servlet.ServletHandler.service(ServletHandler.java:178)
    2 frames
  11. Kernel Classes
    ContainerMapper.service
    1. com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
    2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
    2 frames
  12. Grizzly Server
    HttpServerFilter.handleRead
    1. org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
    2. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
    3. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
    3 frames
  13. Grizzly
    AbstractThreadPool$Worker.run
    1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
    2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
    3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
    4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
    5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
    6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
    7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)
    8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
    9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
    10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
    11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
    12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
    13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
    13 frames
  14. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame