BackpackSystem

BackpackSystem 1.0.0

TheH2SO4

New Member
Seems to be a very good plugin, but when I try to setup the plugin...

21:26:14 [ERROR] [BackpackSystem - MySQL] Connection failed!
Error Message:Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
>
21:26:14 [WARN ] [BackpackSystem] No MySQL-Server connection. Please check the file "config.yml"

I already setup MySQL in the config file and also I setup DbLib and configure MySQL there too but I don't actually get any changes.
 

DimBoy

Member
Java:
2024-08-05 08:37:47.256 [main] INFO  - Enabling BackpackSystem v1.0.0
2024-08-05 08:37:47.261 [main] ERROR - Throwing
java.lang.RuntimeException: java.lang.IllegalAccessError: failed to access class com.mysql.cj.conf.ConnectionUrl$1 from class com.mysql.cj.conf.ConnectionUrl (com.mysql.cj.conf.ConnectionUrl$1 is in unnamed module of loader cn.nukkit.plugin.PluginClassLoader @1c7f6e96; com.mysql.cj.conf.ConnectionUrl is in unnamed module of loader cn.nukkit.plugin.PluginClassLoader @78b03788)
    at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:440) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Server.enablePlugin(Server.java:755) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Server.enablePlugins(Server.java:744) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Server.<init>(Server.java:587) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Nukkit.main(Nukkit.java:120) [nukkit-1.0-SNAPSHOT.jar:?]
Caused by: java.lang.IllegalAccessError: failed to access class com.mysql.cj.conf.ConnectionUrl$1 from class com.mysql.cj.conf.ConnectionUrl (com.mysql.cj.conf.ConnectionUrl$1 is in unnamed module of loader cn.nukkit.plugin.PluginClassLoader @1c7f6e96; com.mysql.cj.conf.ConnectionUrl is in unnamed module of loader cn.nukkit.plugin.PluginClassLoader @78b03788)
    at com.mysql.cj.conf.ConnectionUrl.getConnectionUrlInstance(ConnectionUrl.java:198) ~[?:?]
    at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:204) ~[?:?]
    at java.sql.DriverManager.getConnection(DriverManager.java:683) ~[java.sql:?]
    at java.sql.DriverManager.getConnection(DriverManager.java:230) ~[java.sql:?]
    at de.daniel.backpack.Management.MySQL.connect(MySQL.java:36) ~[?:?]
    at de.daniel.backpack.BackpackSystemMain.onEnable(BackpackSystemMain.java:32) ~[?:?]
    at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) ~[nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:117) ~[nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:436) ~[nukkit-1.0-SNAPSHOT.jar:?]
    ... 4 more
2024-08-05 08:37:47.273 [main] INFO  - Disabling BackpackSystem v1.0.0
2024-08-05 08:37:47.273 [main] INFO  - [BackpackSystem] §bBackpackSystem §fwas successfully §cDisabled
 
Top