java.lang.NoClassDefFoundError: io/netty/util/concurrent/DefaultPromise$2

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


If JVM throws ClassNotFoundException the class is not found in classpath. Seems you are missing hibernate dependency in your project set up. Try downloading hibernate-core.jar and add to your project classpath.

Solutions on the web

via GitHub by Unisay
, 1 year ago
via GitHub by basovink
, 3 months ago
via Stack Overflow by Thala
, 1 year ago
via GitHub by darkfrog26
, 8 months ago
java.lang.ClassNotFoundException: io.netty.util.concurrent.DefaultPromise$2
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(

Users with the same issue

Once, 1 week ago
Once, 1 month ago
4 times, 3 months ago
2 times, 6 months ago
6 times, 7 months ago

Write tip

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