java.lang.NoClassDefFoundError: javax/servlet/ServletException

hivmr.com | 4 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    CXF on JBoss AS7: NoClassDefFoundError: com/ctc/wstx/io/DefaultInputResolver | Avisi Blog

    avisi.nl | 6 months ago
    java.lang.NoClassDefFoundError: com/ctc/wstx/io/DefaultInputResolver at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:609) [woodstox-core-asl-4.1.1.jar:4.1.1] at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:316) [woodstox-core-asl-4.1.1.jar:4.1.1] at _redirected.XMLInputFactory.createXMLStreamReader(_XMLInputFactory.java:139) [jboss-modules.jar:1.1.1.GA] at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:1176) [cxf-common-utilities-2.4.6.jar:2.4.6] at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:104) [cxf-rt-core-2.4.6.jar:2.4.6] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) [cxf-api-2.4.6.jar:2.4.6] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-rt-core-2.4.6.jar:2.4.6] at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:207) [cxf-rt-transports-http-2.4.6.jar:2.4.6]

    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

      javax/servlet/ServletException

      at org.jboss.wsf.stack.cxf.Messages_$bundle.cannotObtainDestinationFor()
    2. JBoss Web Services - Stack CXF Runtime Client
      RequestHandlerImpl.handleHttpRequest
      1. org.jboss.wsf.stack.cxf.Messages_$bundle.cannotObtainDestinationFor(Messages_$bundle.java:357)
      2. org.jboss.wsf.stack.cxf.RequestHandlerImpl.findDestination(RequestHandlerImpl.java:168)
      3. org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:85)
      3 frames
    3. org.jboss.wsf
      ServletHelper.callRequestHandler
      1. org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)
      1 frame
    4. JBoss Web Services - Stack CXF Runtime Client
      CXFServletExt.invoke
      1. org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)
      1 frame
    5. Apache CXF Runtime HTTP Transport
      AbstractHTTPServlet.doGet
      1. org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:225)
      2. org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:150)
      2 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:734)[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
      1 frame
    7. JBoss Web Services - Stack CXF Runtime Client
      CXFServletExt.service
      1. org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)
      1 frame
    8. JBoss Web Services - SPI
      WSFServlet.service
      1. org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140)[jbossws-spi.jar:2.1.1.Final]
      1 frame
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:847)[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
      1 frame
    10. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[jbossweb-7.0.13.Final.jar:]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)[jbossweb-7.0.13.Final.jar:]
      4 frames
    11. JBoss Web
      SecurityContextAssociationValve.invoke
      1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
      1 frame
    12. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[jbossweb-7.0.13.Final.jar:]
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[jbossweb-7.0.13.Final.jar:]
      4. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)[jbossweb-7.0.13.Final.jar:]
      4 frames
    13. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[jbossweb-7.0.13.Final.jar:]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)[jbossweb-7.0.13.Final.jar:]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)[jbossweb-7.0.13.Final.jar:]
      3 frames
    14. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)[classes.jar:1.6.0_37]
      1 frame