Skip to content

velocity Failed to load driver class com.mysql.cj.jdbc.Driver #1279

@MFD7-10

Description

@MFD7-10

What happened?

latest.txt

[22:30:09 ERROR] [fastlogin.hikari.HikariConfig]: Failed to load driver class com.mysql.cj.jdbc.Driver from HikariConfig class classloader com.velocitypowered.proxy.plugin.PluginClassLoader@d8948cd
[22:30:09 ERROR]: Couldn't pass ProxyInitializeEvent to fastlogin 1.12-SNAPSHOT-927f09a
java.lang.RuntimeException: Failed to load driver class com.mysql.cj.jdbc.Driver in either of HikariConfig class loader or Thread context classloader
at fastlogin.hikari.HikariConfig.setDriverClassName(HikariConfig.java:491) ~[?:?]
at com.github.games647.fastlogin.core.storage.MySQLStorage.setParams(MySQLStorage.java:49) ~[?:?]
at com.github.games647.fastlogin.core.storage.MySQLStorage.(MySQLStorage.java:42) ~[?:?]
at com.github.games647.fastlogin.core.shared.FastLoginCore.setupDatabase(FastLoginCore.java:254) ~[?:?]
at com.github.games647.fastlogin.velocity.FastLoginVelocity.onProxyInitialization(FastLoginVelocity.java:100) ~[?:?]
at com.github.games647.fastlogin.velocity.Lmbda$3.execute(Unknown Source) ~[?:?]
at com.velocitypowered.proxy.event.UntargetedEventHandler$VoidHandler.lambda$buildHandler$0(UntargetedEventHandler.java:56) ~[Velocity-3.3.0.jar:3.3.0-SNAPSHOT (git-3c23ee75-b430)]
at com.velocitypowered.proxy.event.VelocityEventManager.fire(VelocityEventManager.java:598) ~[Velocity-3.3.0.jar:3.3.0-SNAPSHOT (git-3c23ee75-b430)]
at com.velocitypowered.proxy.event.VelocityEventManager.lambda$fire$5(VelocityEventManager.java:479) ~[Velocity-3.3.0.jar:3.3.0-SNAPSHOT (git-3c23ee75-b430)]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]

Steps to reproduce

No response

Plugin list

No response

Configuration file

<script src="https://gist.github.com/MFD7-10/fabed63fd3f9c10a3d459fa2c0f700ee.js"></script>

Server log

latest.txt

Plugin version

"version":"1.12-SNAPSHOT-927f09a"

Platform

Spigot

Relevance

  • I tried the latest build
    (build refers to development builds not necessary a release version; i.e. v1.10 is out of date)

  • I checked for existing tickets -
    If there are, please vote them with a thumbs reaction and not create new ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions