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

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

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

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

  • Connect error
    via GitHub by FastAccountForPull
    ,
  • Boot Error on Spigot 1.8.3
    via GitHub by hornemans
    ,
  • Email recovery doesn't work
    via GitHub by NIK220V
    ,
  • GitHub comment 45#167424485
    via GitHub by fatsx
    ,
  • Invalid Plugin Exception
    via GitHub by jackmawer
    ,
  • GitHub comment 35#185275229
    via GitHub by MrAntza
    ,
    • java.lang.NoClassDefFoundError: com/jolbox/bonecp/BoneCPConfig at com.avrgaming.civcraft.database.ConnectionPool.<init>(ConnectionPool.java:36)[?:?] at com.avrgaming.civcraft.database.SQL.initialize(SQL.java:116)[?:?] at com.avrgaming.civcraft.main.CivCraft.onEnable(CivCraft.java:276)[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugin(CraftServer.java:373)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:323)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:412)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:377)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:332)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:271)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:535)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_101] Caused by: java.lang.ClassNotFoundException: com.jolbox.bonecp.BoneCPConfig at java.net.URLClassLoader.findClass(URLClassLoader.java:381)[?:1.8.0_101] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86)[spigot-1.10.2.jar:git-Spigot-850da7e-e20928f] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[?:1.8.0_101] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[?:1.8.0_101] ... 14 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    1450 more bugmates