java.lang.NoClassDefFoundError: io/netty/channel/epoll/NativeStaticallyReferencedJniMethods

GitHub | raphw | 5 months ago
  1. 0

    Shading of Netty breaks on Linux because of native bindings

    GitHub | 5 months ago | raphw
    java.lang.NoClassDefFoundError: io/netty/channel/epoll/NativeStaticallyReferencedJniMethods
  2. 0

    Could not initialize class org.bytedeco.javacpp.opencv_core$Mat

    GitHub | 3 years ago | medloh
    java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.opencv_core$Mat
  3. 0

    [ERROR][Feeder] java.lang.NoClassDefFoundError: org/sqlite/NativeDB

    GitHub | 2 years ago | FranckBel
    java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/sqlite/NativeDB
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using JNA with IBM J9 JVM

    Stack Overflow | 6 years ago | jkschneider
    java.lang.NoClassDefFoundError: java.nio.Buffer
  6. 0

    Exception in thread "main" java.lang.NoClassDefFoundError: org/sqlite/NativeDB

    Stack Overflow | 3 years ago | billlipeng
    java.lang.NoClassDefFoundError: org/sqlite/NativeDB
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

    io/netty/channel/epoll/NativeStaticallyReferencedJniMethods

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.load
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
    4. java.lang.Runtime.load0(Runtime.java:809)
    5. java.lang.System.load(System.java:1086)
    5 frames
  3. org.testcontainers.shaded
    DockerClientBuilder.build
    1. org.testcontainers.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:193)
    2. org.testcontainers.shaded.io.netty.channel.epoll.Native.<clinit>(Native.java:60)
    3. org.testcontainers.shaded.io.netty.channel.epoll.IovArray.<clinit>(IovArray.java:57)
    4. org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoop.<init>(EpollEventLoop.java:57)
    5. org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:78)
    6. org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:30)
    7. org.testcontainers.shaded.io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:77)
    8. org.testcontainers.shaded.io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:48)
    9. org.testcontainers.shaded.io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:57)
    10. org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:63)
    11. org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoopGroup.<init>(EpollEventLoopGroup.java:51)
    12. org.testcontainers.shaded.com.github.dockerjava.netty.DockerCmdExecFactoryImpl$UnixDomainSocketInitializer.init(DockerCmdExecFactoryImpl.java:221)
    13. org.testcontainers.shaded.com.github.dockerjava.netty.DockerCmdExecFactoryImpl.init(DockerCmdExecFactoryImpl.java:197)
    14. org.testcontainers.shaded.com.github.dockerjava.core.DockerClientImpl.withDockerCmdExecFactory(DockerClientImpl.java:159)
    15. org.testcontainers.shaded.com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:45)
    15 frames
  4. org.testcontainers.dockerclient
    DockerClientProviderStrategy.getFirstValidStrategy
    1. org.testcontainers.dockerclient.DockerClientProviderStrategy.getClientForConfig(DockerClientProviderStrategy.java:103)
    2. org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy.test(EnvironmentAndSystemPropertyClientProviderStrategy.java:18)
    3. org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:54)
    3 frames
  5. org.testcontainers
    DockerClientFactory.client
    1. org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:82)
    2. org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:70)
    2 frames
  6. org.testcontainers.containers
    FixedHostPortGenericContainer.<init>
    1. org.testcontainers.containers.GenericContainer.<init>(GenericContainer.java:105)
    2. org.testcontainers.containers.FixedHostPortGenericContainer.<init>(FixedHostPortGenericContainer.java:16)
    2 frames