DiscordSRV

DiscordSRV

86.8k Downloads

jdbc driver class error on server startup

ScrapMetalGolem opened this issue ยท 2 comments

commented

Expected behavior

Plugin initializes MySQL commection without error.

Actual behavior

The following lines appear when discordsrv is loading:
[14:00:54] [DiscordSRV - Initialization/ERROR]: [STDERR] [com.mysql.jdbc.Driver] Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class is com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
[14:00:54] [DiscordSRV - Initialization/INFO]: [DiscordSRV] JDBC tables passed validation, using JDBC account backend
[14:00:54] [DiscordSRV - Initialization/INFO]: [DiscordSRV] Enabling LuckPerms hook
[14:00:54] [DiscordSRV - Initialization/INFO]: [DiscordSRV] Enabling PlaceholderAPI hook

Steps to reproduce

Purpur 1.20.6 dev releases (currently 2209)
Discordsrv 1.27 release, or 1.28-snapshots

Server software and version

1.20.6-2209-ad32b22 (MC: 1.20.6)*

Checks

  • I am not using an outdated version of DiscordSRV.
  • I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.
  • I didn't actually check any of these things

Anything else

This error never appeared for me when using release versions of discordsrv on stable channel paper/purpur 1.20.x servers. Only since starting dev work on 1.20.5/6.

commented

Same issue here: #1685

commented

This issue appears to be fixed in the latest snapshot - aeaa746