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:


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.


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( at amidst.mojangapi.minecraftinterface.RecognisedVersion.generateMagicString( at amidst.mojangapi.minecraftinterface.RecognisedVersion.from( at amidst.mojangapi.minecraftinterface.local.LocalMinecraftInterfaceBuilder.create( at at amidst.mojangapi.MojangApi.set( at amidst.gui.profileselect.LocalProfileComponent.tryLoad( at amidst.threading.WorkerExecutor.lambda$run$11( at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$ Source) at Source) Caused by: java.lang.ClassNotFoundException: io.netty.buffer.ByteBufOutputStream at 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

    10 times, last one
    10 times, last one
    9 times, last one
    Unknown visitor
    Unknown visitor3 times, last one
    1513 more bugmates