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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by raphw
, 1 year ago
io/netty/channel/epoll/NativeStaticallyReferencedJniMethods
via GitHub by MansM
, 1 year ago
io/netty/channel/epoll/NativeStaticallyReferencedJniMethods
via github.com by Unknown author, 1 year ago
via GitHub by Harry5573
, 1 year ago
io/netty/channel/epoll/NativeStaticallyReferencedJniMethods
java.lang.NoClassDefFoundError: io/netty/channel/epoll/NativeStaticallyReferencedJniMethods
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at org.testcontainers.shaded.io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:193)
at org.testcontainers.shaded.io.netty.channel.epoll.Native.(Native.java:60)
at org.testcontainers.shaded.io.netty.channel.epoll.IovArray.(IovArray.java:57)
at org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoop.(EpollEventLoop.java:57)
at org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:78)
at org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoopGroup.newChild(EpollEventLoopGroup.java:30)
at org.testcontainers.shaded.io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:77)
at org.testcontainers.shaded.io.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:48)
at org.testcontainers.shaded.io.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:57)
at org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoopGroup.(EpollEventLoopGroup.java:63)
at org.testcontainers.shaded.io.netty.channel.epoll.EpollEventLoopGroup.(EpollEventLoopGroup.java:51)
at org.testcontainers.shaded.com.github.dockerjava.netty.DockerCmdExecFactoryImpl$UnixDomainSocketInitializer.init(DockerCmdExecFactoryImpl.java:221)
at org.testcontainers.shaded.com.github.dockerjava.netty.DockerCmdExecFactoryImpl.init(DockerCmdExecFactoryImpl.java:197)
at org.testcontainers.shaded.com.github.dockerjava.core.DockerClientImpl.withDockerCmdExecFactory(DockerClientImpl.java:159)
at org.testcontainers.shaded.com.github.dockerjava.core.DockerClientBuilder.build(DockerClientBuilder.java:45)
at org.testcontainers.dockerclient.DockerClientProviderStrategy.getClientForConfig(DockerClientProviderStrategy.java:103)
at org.testcontainers.dockerclient.EnvironmentAndSystemPropertyClientProviderStrategy.test(EnvironmentAndSystemPropertyClientProviderStrategy.java:18)
at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:54)
at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:82)
at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:70)
at org.testcontainers.containers.GenericContainer.(GenericContainer.java:105)
at org.testcontainers.containers.FixedHostPortGenericContainer.(FixedHostPortGenericContainer.java:16)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.