Luohuayu / CatServer

高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server)
https://catmc.org
GNU Lesser General Public License v3.0
1.98k stars 211 forks source link

Incompatibility plugins #282

Closed JuanSlaterT closed 3 years ago

JuanSlaterT commented 3 years ago

For some reason, one of my customers that bought a plugin from me is throwing this error

[Craft Scheduler Thread - 13/WARN] [hotdoctor.plugin.mysqlpapibridge.Main]: [MySQLPapiBridge] Plugin MySQLPapiBridge v2.0 generated an exception while executing task 36 java.lang.NoClassDefFoundError: Could not initialize class com.zaxxer.hikari.HikariDataSource at hotdoctor.plugin.mysqlpapibridge.MySQL.MySQL.(Unknown Source) ~[?:?] at hotdoctor.plugin.mysqlpapibridge.Main.lambda$onEnable$0(Unknown Source) ~[?:?] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[CraftTask.class:git-CatServer-1.12.2-999edd9b] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [CraftAsyncTask.class:git-CatServer-1.12.2-999edd9b] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_271] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_271] at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]

No idea why is throwing it, this only happens with CatServer, some way for fix it? it runs correctly with Bukkit, Spigot and Paperspigot servers.

JuanSlaterT commented 3 years ago

The plugin is made mainly as maven project so it needs to download some external libraries and apply it to the plugin, in this case I use HikariDB libraries for better perfomance between connections to my mysql.

TheNullablePrototype commented 3 years ago

Provide the code that is being executed.

Luohuayu commented 3 years ago

Please provide plugin download link or source code