Skip to content

Fix: Downgrade SnakeYAML to 1.33 to restore Floodgate MySQL connector…#798

Closed
Blxxded wants to merge 1 commit intoGemstoneGG:libdeflatefrom
CubyMCNetwork:fix/floodgate-mysql-snakeyaml-compat
Closed

Fix: Downgrade SnakeYAML to 1.33 to restore Floodgate MySQL connector…#798
Blxxded wants to merge 1 commit intoGemstoneGG:libdeflatefrom
CubyMCNetwork:fix/floodgate-mysql-snakeyaml-compat

Conversation

@Blxxded
Copy link
Copy Markdown

@Blxxded Blxxded commented Mar 15, 2026

SnakeYAML 2.X removed CustomClassLoaderConstructor(ClassLoader) causing NoSuchMethodError...

1) [Guice/ErrorInjectingMethod]: NoSuchMethodError: 'void CustomClassLoaderConstructor.<init>(ClassLoader)'
  at DatabaseConfigLoader.init(DatabaseConfigLoader.java:61)
  while locating DatabaseConfigLoader

… (2.x removed CustomClassLoaderConstructor(ClassLoader) causing NoSuchMethodError)
@WouterGritter
Copy link
Copy Markdown
Collaborator

Upstream velocity is using snakeyaml 2.x since almost 2 months ago (see PaperMC@d69431a).

Downgrading snakeyaml is really out of the question for us, or for upstream for that matter.

This is an issue that should be fixed within floodgate, I see they have some discussion about it here: GeyserMC/Floodgate#649
And an open PR here: GeyserMC/Floodgate#654

For now, I suggest using the fork of floodgate, until they release a version with the aforementioned PR merged.

@WouterGritter
Copy link
Copy Markdown
Collaborator

floodgate has merged their PR, support for newer velocity(-ctd) has been restored on their end. closing issue.

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.

2 participants