java.lang.NoClassDefFoundError

io/netty/buffer/ByteBufOutputStream

Samebug tips5

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


rafaelrafael

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.


rafaelrafael

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

Solutions on the web5085

  • via GitHub by Johannesfknudsen
    ,
  • via GitHub by Cedricjan28
    ,
  • via GitHub by muskrjwq
    ,
  • Stack trace

    • java.lang.NoClassDefFoundError: io
    • etty/buffer/ByteBufOutputStream at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getDeclaredFields(Unknown Source) at amidst.mojangapi.minecraftinterface.RecognisedVersion.getMainClassFields(RecognisedVersion.java:132) at amidst.mojangapi.minecraftinterface.RecognisedVersion.generateMagicString(RecognisedVersion.java:124) at amidst.mojangapi.minecraftinterface.RecognisedVersion.from(RecognisedVersion.java:119) at amidst.mojangapi.minecraftinterface.local.LocalMinecraftInterfaceBuilder.create(LocalMinecraftInterfaceBuilder.java:32) at amidst.mojangapi.file.directory.VersionDirectory.createLocalMinecraftInterface(VersionDirectory.java:99) at amidst.mojangapi.MojangApi.set(MojangApi.java:71) at amidst.gui.profileselect.LocalProfileComponent.tryLoad(LocalProfileComponent.java:84) at amidst.threading.WorkerExecutor.lambda$run$11(WorkerExecutor.java:71) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: io.netty.buffer.ByteBufOutputStream at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 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

    guizmaiiguizmaii
    Once,
    andyglickandyglick
    10 times, last one
    tvrmsmithtvrmsmith
    10 times, last one
    HronomHronom
    9 times, last one
    Unknown visitor
    Unknown visitor3 times, last one
    1513 more bugmates