java.lang.NoClassDefFoundError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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

tip

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.

tip

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

tip

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

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

  • crash report
    via GitHub by lecactusjones17
    ,
  • 1.10.2
    via GitHub by AntuV
    ,
  • Crashed.
    via GitHub by AugiteSoul
    ,
  • AMIDST crashed!
    via GitHub by BenCat07
    ,
  • Isssue on minecraft 1.11
    via GitHub by martial-fraigneau
    ,
    • java.lang.NoClassDefFoundError: com/google/common/util/concurrent/ListenableFuture 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: com.google.common.util.concurrent.ListenableFuture at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more

    Users with the same issue

    guizmaiiguizmaii
    1 times, last one,
    andyglickandyglick
    10 times, last one,
    tvrmsmithtvrmsmith
    10 times, last one,
    HronomHronom
    9 times, last one,
    Unknown visitor
    Unknown visitor3 times, last one,
    1425 more bugmates