Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve MariaDB driver when loading #1759

Closed
wants to merge 1 commit into from
Closed

Conversation

renbinden
Copy link
Member

To be tested by _M0nsters on Discord, who initially reported the issue.
This PR should force the MariaDB driver to load by resolving it, therefore running the static initializer block in its class which registers it.
This should be made obsolete by Java's service loader mechanism (we do use mergeServiceFiles() in the shadow plugin partially for this reason) but if people are still reporting it, there's no harm in having it there.

@renbinden
Copy link
Member Author

This doesn't fix the issue - _M0nsters seems to be using a modded server, I'm not sure if this affects the error.
We tried resolving MariaDB driver and also including a separate MySQL driver and neither fixes the class resolution.

@renbinden renbinden closed this Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant