NametagEdit

721k Downloads

HikariCP and Slf4j Dependencies handling conflicting with LibertyBans

TetoDev opened this issue ยท 0 comments

commented

Bug Report

Nte Version.
4.4.10

Server used
FoxSpigot 1.8.8 Latest

Plugin
LibertyBans is the only relevant to the issue

Issue
I installed LibertyBans and I can't get it to run with NTE. When I run it I get this log suggesting that nte is missing a step when handling it's dependencies.

Logs

[13:56:39 INFO]: [LibertyBans] Enabling LibertyBans v0.7.6
[13:56:39 WARN]: [LibertyBans] *******************************************
Plugin 'NametagEdit 4.4.10' has shaded the library 'Slf4j' but did not relocate it. This may or may not pose problems. Contact the author of this plugin and tell them to relocate their dependencies. Unrelocated class detected was org.slf4j.Logger
*******************************************
[13:56:39 WARN]: [LibertyBans] *******************************************
Plugin 'NametagEdit 4.4.10' has shaded the library 'HikariCP' but did not relocate it. This may or may not pose problems. Contact the author of this plugin and tell them to relocate their dependencies. Unrelocated class detected was com.zaxxer.hikari.HikariConfig
*******************************************
[13:56:39 INFO]: Conducting START...
[13:56:40 INFO]: LibertyBans-HikariCP-HyperSQL - Starting...
[13:56:40 ERROR]: Error occurred while enabling LibertyBans v0.7.6 (Is it up to date?)
java.lang.RuntimeException: java.lang.ClassNotFoundException: dev.tommasobenatti.relocate.hsqldb.jdbc.JDBCDataSource
        at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:93) ~[?:?]
        at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:317) ~[?:?]
        at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:111) ~[?:?]
        at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:106) ~[?:?]
        at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:72) ~[?:?]
        at LibertyBans-ClassLoader//space.arim.libertybans.core.database.DatabaseSettings.createDataSource(DatabaseSettings.java:91) ~[?:?]
        at LibertyBans-ClassLoader//space.arim.libertybans.core.database.DatabaseSettings.create(DatabaseSettings.java:101) ~[?:?]
        at LibertyBans-ClassLoader//space.arim.libertybans.core.database.DatabaseSettings.create(DatabaseSettings.java:76) ~[?:?]
        at LibertyBans-ClassLoader//space.arim.libertybans.core.database.DatabaseManager.startup(DatabaseManager.java:88) ~[?:?]
        at LibertyBans-ClassLoader//space.arim.libertybans.core.LifecycleGodfather.startup0(LifecycleGodfather.java:67) ~[?:?]
        at LibertyBans-ClassLoader//space.arim.libertybans.core.AbstractBaseFoundation.timedEvent(AbstractBaseFoundation.java:125) ~[?:?]
        at LibertyBans-ClassLoader//space.arim.libertybans.core.AbstractBaseFoundation.startup(AbstractBaseFoundation.java:62) ~[?:?]
        at space.arim.libertybans.env.spigot.BaseWrapper$Creator.create(BaseWrapper.java:109) ~[?:?]
        at space.arim.libertybans.env.spigot.SpigotPlugin.onEnable(SpigotPlugin.java:39) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:365) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:324) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:539) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:495) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:449) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:271) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:648) [FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at java.base/java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.ClassNotFoundException: dev.tommasobenatti.relocate.hsqldb.jdbc.JDBCDataSource
        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471) ~[?:?]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[FoxSpigot.jar:1.8.8-R0.1-SNAPSHOT]
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
        at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:80) ~[?:?]
        ... 24 more
[13:56:40 INFO]: [LibertyBans] Disabling LibertyBans v0.7.6
[13:56:40 WARN]: [LibertyBans] LibertyBans wasn't launched; check your log for a startup error