class not found exception PlayerItemDamageEvent
class not found exception PlayerItemDamageEvent
[Denizen] Task #23438 for Denizen v0.9.8-SNAPSHOT (build 1618) generated an exception
java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerItemDamageEvent
at net.aufdemrand.denizen.events.player.PlayerItemTakesDamageScriptEvent.destroy(PlayerItemTakesDamageScriptEvent.java:88) ~[?:?]
at net.aufdemrand.denizencore.events.ScriptEvent.reload(ScriptEvent.java:86) ~[?:?]
at net.aufdemrand.denizencore.DenizenCore.loadScripts(DenizenCore.java:107) ~[?:?]
at net.aufdemrand.denizen.Denizen$1.run(Denizen.java:874) ~[?:?]
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit-latest.jar:git-Bukkit-43ab266]
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:349) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:682) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:361) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:643) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:547) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_111]
Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerItemDamageEvent
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) ~[craftbukkit-latest.jar:git-Bukkit-43ab266]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit-latest.jar:git-Bukkit-43ab266]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_111]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_111]
... 11 more
Won't allow me to reload the scripts. Not certain if this was already fixed or not, but I just download the plugin earlier today.
java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerItemDamageEvent
at net.aufdemrand.denizen.events.player.PlayerItemTakesDamageScriptEvent.destroy(PlayerItemTakesDamageScriptEvent.java:88) ~[?:?]
at net.aufdemrand.denizencore.events.ScriptEvent.reload(ScriptEvent.java:86) ~[?:?]
at net.aufdemrand.denizencore.DenizenCore.loadScripts(DenizenCore.java:107) ~[?:?]
at net.aufdemrand.denizen.Denizen$1.run(Denizen.java:874) ~[?:?]
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit-latest.jar:git-Bukkit-43ab266]
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:349) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:682) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:361) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:643) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:547) [craftbukkit-latest.jar:git-Bukkit-43ab266]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_111]
Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerItemDamageEvent
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:67) ~[craftbukkit-latest.jar:git-Bukkit-43ab266]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit-latest.jar:git-Bukkit-43ab266]
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_111]
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_111]
... 11 more
Won't allow me to reload the scripts. Not certain if this was already fixed or not, but I just download the plugin earlier today.
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: class not found exception PlayerItemDamageEvent
Hey!
Can you make sure for me you're running the latest versions of denizen, spigot, and if applicable, citizens?
Can you make sure for me you're running the latest versions of denizen, spigot, and if applicable, citizens?
Re: class not found exception PlayerItemDamageEvent
Definitely running latest denizen and ctizens plugins. Not running spigot, however. Didn't realize spigot was a requirement. I'm running bukkit 1.10 R1 and everything seems to be loading up just fine, but running into some small issues here and there. Should I install spigot?
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: class not found exception PlayerItemDamageEvent
Is the plugin enabled? can you record a debug snapshot for me?
Re: class not found exception PlayerItemDamageEvent
Do you want me to just copy out the text from console after attempting to ex run one of the scripts? Yes, plugin is enabled, but won't allow me to assign or reload scripts.
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: class not found exception PlayerItemDamageEvent
just do /denizen db -r, reload your scripts, then do /denizen submit and link back the link it gave
Re: class not found exception PlayerItemDamageEvent
Here's the output: http://mcmonkey.org/paste/36321
Edit: Sorry, forgot to reload scripts. Fixed the URL with the output.
Everything outputted to that URL is what comes before my original post. After reloading script events it proceeds to throw out the error above.
Edit: Sorry, forgot to reload scripts. Fixed the URL with the output.
Everything outputted to that URL is what comes before my original post. After reloading script events it proceeds to throw out the error above.
-
- Regular
- Posts: 78
- Joined: August 6th, 2016, 1:44 am
Re: class not found exception PlayerItemDamageEvent
try updating denizen to this version: http://ci.citizensnpcs.co/job/Denizen_D ... sfulBuild/
and citizens to this version: http://ci.citizensnpcs.co/job/Citizens2 ... sfulBuild/
and if there is any kind of developmental version for spigot that is newer than your current one, get it too
and citizens to this version: http://ci.citizensnpcs.co/job/Citizens2 ... sfulBuild/
and if there is any kind of developmental version for spigot that is newer than your current one, get it too
Re: class not found exception PlayerItemDamageEvent
Thanks, I will test it out and get back to you.
- mcmonkey
- Site Admin
- Posts: 187
- Joined: August 5th, 2016, 7:27 pm
- Location: Los Angeles, California, USA
- Contact:
Re: class not found exception PlayerItemDamageEvent
In the modern world, Spigot IS Bukkit. Run Spigot, always. There's no reason to run "CraftBukkit.jar", which is provided by the Spigot team for historical reasons.
Denizen depends on Spigot for this and a few other special options.
Denizen depends on Spigot for this and a few other special options.
Denizen lead developer.
http://mcmonkey.org
http://mcmonkey.org
Who is online
Users browsing this forum: No registered users and 1 guest