java.lang.NoClassDefFoundError

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

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

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.

  • Plugin doesn't load properly
    via GitHub by TJPlaysNow
    ,
  • Crash on plugin load
    via GitHub by SidiXis
    ,
  • GitHub comment 12#77966180
    via GitHub by SidiXis
    ,
  • STATZ NOT WORKKING FOR ME (MAC)
    via GitHub by GamingGod
    ,
  • Bukkit plugins and PluginBukkitBridge errors
    via by Unknown author,
  • Please fix crash on AAC
    via GitHub by DarkWav
    ,
  • GitHub comment 84#201944577
    via GitHub by TheMolkaPL
    ,
    • java.lang.NoClassDefFoundError: net/md_5/bungee/api/chat/BaseComponent at org.inventivetalent.animatedframes.AnimatedFramesPlugin.onEnable(AnimatedFramesPlugin.java:72)[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)[cb.jar:git-Bukkit-6d3efa0] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332)[cb.jar:git-Bukkit-6d3efa0] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404)[cb.jar:git-Bukkit-6d3efa0] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:347)[cb.jar:git-Bukkit-6d3efa0] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:319)[cb.jar:git-Bukkit-6d3efa0] at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:407)[cb.jar:git-Bukkit-6d3efa0] at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:372)[cb.jar:git-Bukkit-6d3efa0] at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:327)[cb.jar:git-Bukkit-6d3efa0] at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:242)[cb.jar:git-Bukkit-6d3efa0] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:517)[cb.jar:git-Bukkit-6d3efa0] at java.lang.Thread.run(Unknown Source)[?:1.8.0_91] Caused by: java.lang.ClassNotFoundException: net.md_5.bungee.api.chat.BaseComponent at java.net.URLClassLoader.findClass(Unknown Source)[?:1.8.0_91] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77)[cb.jar:git-Bukkit-6d3efa0] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)[cb.jar:git-Bukkit-6d3efa0] at java.lang.ClassLoader.loadClass(Unknown Source)[?:1.8.0_91] at java.lang.ClassLoader.loadClass(Unknown Source)[?:1.8.0_91] ... 12 more

    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,
    1450 more bugmates