Solved Could not load 'plugins\worldguard-bukkit-7.0.2.jar'

Discussion in 'Spigot Plugin Help' started by PatrickMSM, Feb 16, 2020.

  1. Please help. This is my log:

    [10:53:33 ERROR]: Could not load 'plugins\worldguard-bukkit-7.0.2.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/enginehub/piston/exception/CommandException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:327) ~[spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:248) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.loadPlugins(CraftServer.java:305) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.reload(CraftServer.java:750) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.Bukkit.reload(Bukkit.java:525) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:27) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:634) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:444) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:407) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-dcd1643-e60fc34]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
    Caused by: java.lang.NoClassDefFoundError: org/enginehub/piston/exception/CommandException
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_241]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_241]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:78) ~[spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-dcd1643-e60fc34]
    ... 14 more
    Caused by: java.lang.ClassNotFoundException: org.enginehub.piston.exception.CommandException
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_241]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:152) ~[spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:100) ~[spigot.jar:git-Spigot-dcd1643-e60fc34]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_241]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_241]
    at java.lang.Class.forName0(Native Method) ~[?:1.8.0_241]
    at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_241]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:78) ~[spigot.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[spigot.jar:git-Spigot-dcd1643-e60fc34]
    ... 14 more
     
  2. Are you using the correct version for your server?
    ClassNotFound basically means the jar file that you are using doesn't contain that class, basically meaning the dev didn't put it there because there may be miscomplications or something.
     
  3. Yes! You solved it! Tysm
     
  4. 7.0.2 -> MC 1.15.x
    7.0.1 -> MC 1.14.x
    7.0.0 -> MC 1.13.x
    6.x.x -> MC 1.12.x -
     
    • Like Like x 1
  5. Download & Install plugin WorldEdit and everything will work :)
     
  6. 1. No. Try to learn Java and understand the stack trace before you even try to reply.
    2. This thread is marked as Solved, why are you still posting?
    3. This thread is more than 3 months old. Why are you still posting?


    WHY?