Closed fendyk closed 1 year ago
@fendyk are you able to test the latest version? I'm sure it's still an issue but it would be nice to be sure
For reference, the error in ServerTap when excluding kotlin-stdlib is
[15:26:31 ERROR]: Error occurred while enabling ServerTap v0.5.2-SNAPSHOT (Is it up to date?)
java.lang.NoClassDefFoundError: kotlin/NoWhenBranchMatchedException
at io.javalin.config.PrivateConfig.<init>(PrivateConfig.kt:22) ~[ServerTap-0.5.2-SNAPSHOT.jar:?]
at io.javalin.config.JavalinConfig.<init>(JavalinConfig.kt:26) ~[ServerTap-0.5.2-SNAPSHOT.jar:?]
at io.javalin.Javalin.<init>(Javalin.java:55) ~[ServerTap-0.5.2-SNAPSHOT.jar:?]
at io.javalin.Javalin.create(Javalin.java:92) ~[ServerTap-0.5.2-SNAPSHOT.jar:?]
at io.servertap.PluginEntrypoint.onEnable(PluginEntrypoint.java:98) ~[ServerTap-0.5.2-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:279) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
Seems that javalin relies on that functionality
I can confirm that the current issues have resolved by using the latest version of your plugin. thank you!
I'm honestly very surprised @fendyk!
I was sure it would still conflict with Eco.
Out of curiosity, which Java version are you using?
I use OpenJDK 19.0.2 @phybros.
Thanks for the info! I'll close this issue out then
New Issue Report: Server Tap Plugin Incompatibility with EcoSkills
Description
The 'Server Tap' plugin is incompatible with the 'EcoSkills' plugin, causing a java.lang.LinkageError related to the kotlin.Lazy interface. This issue might be resolved by updating the 'Server Tap' plugin to avoid shading Kotlin.
Error
Possible Solution
Update the 'Server Tap' plugin to avoid shading Kotlin. Here's an example using Gradle: