Snakeyaml 2.2 has a fix where the package org.yaml.snakeyaml.inspector
is not exported from its module, requiring a manual --add-exports
when running spring on the module path.
Comment From: bclozel
Thanks but Spring Framework only has an optional dependency on this library and only compiles against it. We would rather deal with dependency upgrades and baseline upgrades ourselves.
You should instead upgrade this dependency directly in your application as Spring Framework will not enforce any version for this library and does not list it in its POMs.
Comment From: Sineaggi
I have a branch that's slowly attempting to migrate spring-framework to the module system, and it's the "compiles against it" part that's failing (specifically due to the org.yaml.snakeyaml.inspector
module not being exported). Hence this mr.