Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15149

Could not initialize class org.apache.cxf.attachment.AttachmentUtil

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • fuse-7.8-GA
    • fuse-7.8-GA
    • CXF, Karaf
    • False
    • False
    • % %
    • build6
    • Undefined
    • Hide

      It is easily reproducible by CXF secure soap quickstart for Karaf.

      Show
      It is easily reproducible by CXF secure soap quickstart for Karaf.

      A lot of CXF tests and quickstarts for Karaf fails on this error:

      11:28:57.951 ERROR [XNIO-4 task-2] UT005023: Exception handling request to /cxf/HelloWorldSecurity
      java.lang.NoClassDefFoundError: Could not initialize class org.apache.cxf.attachment.AttachmentUtil
      	at org.apache.cxf.interceptor.AttachmentInInterceptor.handleMessage(AttachmentInInterceptor.java:55) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:267) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:301) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:220) ~[!/:3.3.6.fuse-780024-redhat-00001]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:665) ~[!/:4.0.1]
      

              ggrzybek Grzegorz Grzybek
              tturek@redhat.com Tomas Turek
              Tomas Turek Tomas Turek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: