java.lang.NoClassDefFoundError: Could not initialize class io.netty.channel.nio.NioEventLoopGroup

GitHub | juherr | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    Could not initialize class io.netty.channel.nio.NioEventLoopGroup

    at org.apache.cxf.transport.http.netty.client.NettyHttpConduitFactory.createConduit()
  2. Apache CXF Runtime HTTP Netty Client Transport
    NettyHttpConduitFactory.createConduit
    1. org.apache.cxf.transport.http.netty.client.NettyHttpConduitFactory.createConduit(NettyHttpConduitFactory.java:89)
    1 frame
  3. Apache CXF Runtime HTTP Transport
    HTTPTransportFactory.getConduit
    1. org.apache.cxf.transport.http.HTTPTransportFactory.getConduit(HTTPTransportFactory.java:226)
    2. org.apache.cxf.transport.http.HTTPTransportFactory.getConduit(HTTPTransportFactory.java:208)
    2 frames
  4. Apache CXF Core
    TransportURIResolver.resolve
    1. org.apache.cxf.transport.TransportURIResolver.resolve(TransportURIResolver.java:109)
    1 frame
  5. Apache CXF Runtime Core for WSDL
    WSDLServiceFactory.<init>
    1. org.apache.cxf.wsdl11.CatalogWSDLLocator.getBaseInputSource(CatalogWSDLLocator.java:74)
    2. org.apache.cxf.wsdl11.AbstractWrapperWSDLLocator.getBaseInputSource(AbstractWrapperWSDLLocator.java:57)
    3. org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:209)
    4. org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:163)
    5. org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:85)
    5 frames
  6. Apache CXF Runtime JAX-WS Frontend
    ProviderImpl.createServiceDelegate
    1. org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:218)
    2. org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:161)
    3. org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:129)
    4. org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:82)
    4 frames