question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatibility issue with EssentialsX 2.16.0+

See original GitHub issue

Since https://github.com/EssentialsX/Essentials/pull/2278, EssentialsX has abandoned ItemDb in flavor of ItemDbProvider. This changes also reflect the numeric ID abandon in Spigot 1.13.

So, when I start my server with Magic plugin and EssentialsX 2.16.0(or higher), this shows up:

[04:09:39 WARN]: java.lang.NoClassDefFoundError: com/earth2me/essentials/ItemDb
[04:09:39 WARN]:        at java.lang.ClassLoader.defineClass1(Native Method)
[04:09:39 WARN]:        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
[04:09:39 WARN]:        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[04:09:39 WARN]:        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:130)
[04:09:39 WARN]:        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:194)
[04:09:39 WARN]:        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91)
[04:09:39 WARN]:        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:80)
[04:09:39 WARN]:        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[04:09:39 WARN]:        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[04:09:39 WARN]:        at com.elmakers.mine.bukkit.magic.MagicController$3.run(MagicController.java:1074)
[04:09:39 WARN]:        at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:81)
[04:09:39 WARN]:        at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:392)
[04:09:39 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:889)
[04:09:39 WARN]:        at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
[04:09:39 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831)
[04:09:39 WARN]:        at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729)
[04:09:39 WARN]:        at java.lang.Thread.run(Thread.java:748)
[04:09:39 WARN]: Caused by: java.lang.ClassNotFoundException: com.earth2me.essentials.ItemDb
[04:09:39 WARN]:        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
[04:09:39 WARN]:        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:134)
[04:09:39 WARN]:        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:80)
[04:09:39 WARN]:        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[04:09:39 WARN]:        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[04:09:39 WARN]:        ... 17 more

Not sure if this has any negative effects on Magic-plugin.

Tested with: Spigot 1.13.2 b2065 Magic 7.6.19 EssentialsX obtained from https://ci.ender.zone/job/EssentialsX/ (build 691, 2.16.0.32)

p.s. I thought it was a Ess’ problem but pointed out by one of their contributor named @triagonal, I link the original issue here https://github.com/EssentialsX/Essentials/issues/2396

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
NathanWolfcommented, Apr 22, 2019

Released 6.9.20 which works with latest EssentialsX.

0reactions
NathanWolfcommented, Apr 17, 2019

That’d be cool, thanks! It’s not a huge deal, I think mainly what my users want is the shop sign integration, though /give working is a nice side-benefit. It’s really cool that I can inject tab-completion, too! Thanks again for putting this together.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EssentialsX - 2.16.0: The 1.13 Update | SpigotMC - SpigotMC
Fixes startup issue from previous build. This update provides full 1.13 support as well as backward compatibility for as late as 1.8.
Read more >
Common Issues - EssentialsX Wiki
This is required to allow EssentialsX's compatibility providers can build against older versions of the Spigot server, and only needs to be done...
Read more >
EssentialsX 2.16.1 - Files - Bukkit Plugins - Projects - Bukkit
2.16.1.0 fixes several bugs that were present in EssentialsX 2.16.0, including issues with items on 1.12.2 and below.
Read more >
Class CreateTableFromSnapshotMetadata.Builder (2.16.0)
This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or...
Read more >
Apache releases new 2.17.0 patch for Log4j to solve denial of ...
"Apache Log4j2 versions 2.0-alpha1 through 2.16.0 did not protect from ... They added that the latest issue was discovered by Akamai ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found