java.lang.NoClassDefFoundError

tip

The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

tip

jsp-api and servlet-api jars must NOT be deployed by your web app. They should be marked as provided but not deployed by your app.

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

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

tip

Check if you didn't forget to instantiate your topic in the kafka broker.

tip

NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.

tip

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

tip

You need to add httpcore to your dependencies. Try adding version 4.3 or further.

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

  • Probleme CreativeGates !
    via by Unknown author,
  • AutoRank Bug
    via GitHub by leonwilber
    ,
  • im lost ples help
    via GitHub by BiteM18
    ,
  • /f f cmd issue
    via GitHub by Halokillerman7
    ,
  • No Class Def Error
    via GitHub by JmannDriver
    ,
  • mcMMP just stopped working
    via GitHub by jonnnnnyutah
    ,
    • java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler at net.goldguard.api.API.onEnable(API.java:55)[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:448)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:382)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:352)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:326)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:282)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:182)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:436)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.server.Handler at java.net.URLClassLoader$1.run(URLClassLoader.java:366)[?:1.7.0_21] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)[?:1.7.0_21] at java.security.AccessController.doPrivileged(Native Method)[?:1.7.0_21] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)[?:1.7.0_21] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)[cbdev1.7.8.jar:git-Bukkit-1.7.2-R0.3-59-g6efeddf-b3074jnks] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)[?:1.7.0_21] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)[?:1.7.0_21]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1248 more bugmates