javax.xml.ws.soap.SOAPFaultException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException

JIRA | Gareth Woodham | 4 years ago
  1. 0

    When testing XCA, XCPD services I get an exception. {code} javax.xml.ws.soap.SOAPFaultException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1326) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:1052) at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:659) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:577) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:520) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:386) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:171) at $Proxy39.queryDocumentsMetadata(Unknown Source) at se.sb.epsos.shelob.util.DocumentProxy.getDocumentList(DocumentProxy.java:46) at se.sb.epsos.protocolterminators.ws.server.xca.impl.DocumentSearchImpl.getDocumentList(DocumentSearchImpl.java:206) at tr.com.srdc.epsos.ws.server.xca.impl.XCAServiceImpl.AdhocQueryResponseBuilder(XCAServiceImpl.java:676) at tr.com.srdc.epsos.ws.server.xca.impl.XCAServiceImpl.queryDocument(XCAServiceImpl.java:1009) at _2007.xds_b.iti.ihe.XCA_ServiceSkeleton.respondingGateway_CrossGatewayQuery(XCA_ServiceSkeleton.java:75) at _2007.xds_b.iti.ihe.XCA_ServiceMessageReceiverInOut.invokeBusinessLogic(XCA_ServiceMessageReceiverInOut.java:123) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException at org.apache.commons.httpclient.HttpMethodBase.getURI(HttpMethodBase.java:265) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:383) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:578) at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:127) at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:373) ... 27 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 42 more {code} I suspect this has to do with this change: 90235d19f574 by Konstantin Hyppönen <Konstant...@kela.fi> on Oct 4 (4 days ago) Diff Fixes of the bugs discovered during PPT testing slot and exclusions in the ws-server pom: {code} <packagingExcludes> WEB-INF/lib/antlr-2.7.6.jar, WEB-INF/lib/commons-collections-2.1.1.jar, WEB-INF/lib/commons-codec-1.2.jar, WEB-INF/lib/commons-codec-1.3.jar, WEB-INF/lib/jaxen-1.1.1.jar, WEB-INF/lib/commons-io-1.3.1.jar, WEB-INF/lib/log4j-1.2.15.jar, WEB-INF/lib/xmlParserAPIs-2.0.2.jar </packagingExcludes> {code}

    JIRA | 4 years ago | Gareth Woodham
    javax.xml.ws.soap.SOAPFaultException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
  2. 0

    When testing XCA, XCPD services I get an exception. {code} javax.xml.ws.soap.SOAPFaultException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1326) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:1052) at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:659) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:577) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:520) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:386) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:171) at $Proxy39.queryDocumentsMetadata(Unknown Source) at se.sb.epsos.shelob.util.DocumentProxy.getDocumentList(DocumentProxy.java:46) at se.sb.epsos.protocolterminators.ws.server.xca.impl.DocumentSearchImpl.getDocumentList(DocumentSearchImpl.java:206) at tr.com.srdc.epsos.ws.server.xca.impl.XCAServiceImpl.AdhocQueryResponseBuilder(XCAServiceImpl.java:676) at tr.com.srdc.epsos.ws.server.xca.impl.XCAServiceImpl.queryDocument(XCAServiceImpl.java:1009) at _2007.xds_b.iti.ihe.XCA_ServiceSkeleton.respondingGateway_CrossGatewayQuery(XCA_ServiceSkeleton.java:75) at _2007.xds_b.iti.ihe.XCA_ServiceMessageReceiverInOut.invokeBusinessLogic(XCA_ServiceMessageReceiverInOut.java:123) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException at org.apache.commons.httpclient.HttpMethodBase.getURI(HttpMethodBase.java:265) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:383) at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:578) at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:127) at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93) at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:373) ... 27 more Caused by: java.lang.ClassNotFoundException: org.apache.commons.codec.DecoderException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) ... 42 more {code} I suspect this has to do with this change: 90235d19f574 by Konstantin Hyppönen <Konstant...@kela.fi> on Oct 4 (4 days ago) Diff Fixes of the bugs discovered during PPT testing slot and exclusions in the ws-server pom: {code} <packagingExcludes> WEB-INF/lib/antlr-2.7.6.jar, WEB-INF/lib/commons-collections-2.1.1.jar, WEB-INF/lib/commons-codec-1.2.jar, WEB-INF/lib/commons-codec-1.3.jar, WEB-INF/lib/jaxen-1.1.1.jar, WEB-INF/lib/commons-io-1.3.1.jar, WEB-INF/lib/log4j-1.2.15.jar, WEB-INF/lib/xmlParserAPIs-2.0.2.jar </packagingExcludes> {code}

    JIRA | 4 years ago | Gareth Woodham
    javax.xml.ws.soap.SOAPFaultException: java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException
  3. 0

    Vaadin maven import abstract ui issue

    Stack Overflow | 2 years ago
    java.lang.ClassNotFoundException: my.package.to.AbstractUI
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.springframework.http.converter.json.MappingJacksonHttpMessageConverter

    mamicode.com | 9 months ago
    java.lang.ClassNotFoundException: org.springframework.http.converter.json.MappingJacksonHttpMessageConverter
  6. 0

    orgspringframeworkhttpconverterjsonMappingJacksonHttpMessageConverter_Java教程_网络编程_码蚁之家

    codes51.com | 4 months ago
    java.lang.ClassNotFoundException: org.springframework.http.converter.json.MappingJacksonHttpMessageConverter
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.codec.DecoderException

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    2 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpMethodBase.getURI(HttpMethodBase.java:265)
    2. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:383)
    2 frames
  4. Apache Axis2 - Transport - HTTP
    CommonsHTTPTransportSender.invoke
    1. org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621)
    2. org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
    3. org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
    4. org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404)
    5. org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
    5 frames
  5. org.apache.axis2
    OperationClient.execute
    1. org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
    2. org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
    3. org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
    4. org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    4 frames
  6. Axis2
    JAXWSProxyHandler.invoke
    1. org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:578)
    2. org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:127)
    3. org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93)
    4. org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:373)
    5. org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:171)
    5 frames
  7. Unknown
    $Proxy39.queryDocumentsMetadata
    1. $Proxy39.queryDocumentsMetadata(Unknown Source)
    1 frame
  8. se.sb.epsos
    DocumentSearchImpl.getDocumentList
    1. se.sb.epsos.shelob.util.DocumentProxy.getDocumentList(DocumentProxy.java:46)
    2. se.sb.epsos.protocolterminators.ws.server.xca.impl.DocumentSearchImpl.getDocumentList(DocumentSearchImpl.java:206)
    2 frames
  9. tr.com.srdc
    XCAServiceImpl.queryDocument
    1. tr.com.srdc.epsos.ws.server.xca.impl.XCAServiceImpl.AdhocQueryResponseBuilder(XCAServiceImpl.java:676)
    2. tr.com.srdc.epsos.ws.server.xca.impl.XCAServiceImpl.queryDocument(XCAServiceImpl.java:1009)
    2 frames
  10. _2007.xds_b.iti
    XCA_ServiceMessageReceiverInOut.invokeBusinessLogic
    1. _2007.xds_b.iti.ihe.XCA_ServiceSkeleton.respondingGateway_CrossGatewayQuery(XCA_ServiceSkeleton.java:75)
    2. _2007.xds_b.iti.ihe.XCA_ServiceMessageReceiverInOut.invokeBusinessLogic(XCA_ServiceMessageReceiverInOut.java:123)
    2 frames
  11. org.apache.axis2
    AxisEngine.receive
    1. org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
    2. org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
    3. org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
    3 frames
  12. Apache Axis2 - Transport - HTTP
    AxisServlet.doPost
    1. org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
    2. org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
    2 frames
  13. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  14. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    8 frames
  15. Grizzly HTTP
    AprEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
    2. org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
    3. org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
    3 frames
  16. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame