In the case of Micronaut, it's solved using the version 3.8.7, which comes with snakeyaml 2.0 support. See -> https://micronaut.io/2023/03/09/micronaut-framework-3-8-7-released/