java.lang.NoClassDefFoundError

io/netty/channel/EventLoopGroup

Samebug tips8

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1001

  • io/netty/channel/EventLoopGroup
  • via GitHub by wtx626
    , 4 weeks ago
    io/netty/channel/EventLoopGroup
  • via Stack Overflow by Yasodhara
    , 6 months ago
    io/netty/channel/EventLoopGroup
  • Stack trace

    • java.lang.NoClassDefFoundError: io
    • etty/channel/EventLoopGroup at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:408) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:398) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(ComponentManagerImpl.java:384) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:107) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:89) at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:87) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:508) at com.intellij.idea.IdeaTestApplication$1.run(IdeaTestApplication.java:54) at com.intellij.openapi.application.RunResult.run(RunResult.java:38) at com.intellij.openapi.application.WriteAction$1$1.run(WriteAction.java:47) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984) at com.intellij.openapi.application.WriteAction$1.run(WriteAction.java:44) at com.intellij.openapi.application.WriteAction.execute(WriteAction.java:53) at com.intellij.idea.IdeaTestApplication.getInstance(IdeaTestApplication.java:52) at com.intellij.testFramework.fixtures.impl.HeavyIdeaTestFixtureImpl.b(HeavyIdeaTestFixtureImpl.java:176) at com.intellij.testFramework.fixtures.impl.HeavyIdeaTestFixtureImpl.setUp(HeavyIdeaTestFixtureImpl.java:101) at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl$18.run(CodeInsightTestFixtureImpl.java:1123) at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2074) at com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl.setUp(CodeInsightTestFixtureImpl.java:1119) at com.intellij.testFramework.fixtures.JavaCodeInsightFixtureTestCase.setUp(JavaCodeInsightFixtureTestCase.java:57) at com.intellij.testFramework.UsefulTestCase.defaultRunBare(UsefulTestCase.java:340) at com.intellij.testFramework.UsefulTestCase$3.run(UsefulTestCase.java:353) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:672) at java.awt.EventQueue.access$400(EventQueue.java:81) at java.awt.EventQueue$2.run(EventQueue.java:633) at java.awt.EventQueue$2.run(EventQueue.java:631) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:642) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.lang.ClassNotFoundException: io.netty.channel.EventLoopGroup at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 38 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    11 times, 1 month ago
    Unknown user
    2 times, 2 months ago
    3 times, 3 months ago
    Once, 4 months ago
    Unknown user
    Once, 4 months ago
    1238 more bugmates