Closed fwdragon closed 4 months ago
@fwdragon 看了下,这个问题是snakeyaml 2.0引入的。
后续版本会考虑修复这个问题。
也可以使用2022版本sct,支持snakeyaml 2.0版本。
也可以使用2022版本sct,支持snakeyaml 2.0版本。
好的 收到 十分感谢 我这边再试试
jackson
排除jackson之后解决了 感谢
spring boot 2.7.18版本默认引入的jackson版本是2.13.5,不支持snakeyaml 2.0及以上版本。如果需要使用snakeyaml 2.0及以上版本,需要同步手动升级jackson版本到2.14.3及以上版本。
The calling method's class was loaded from the following location:
The called method's class, org.yaml.snakeyaml.parser.ParserImpl, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
Action:
Correct the classpath of your application so that it contains compatible versions of the classes com.fasterxml.jackson.dataformat.yaml.YAMLParser and org.yaml.snakeyaml.parser.ParserImpl
查找了历史lssues,遂升级版本,但依然无效 依赖版本如下: spring-cloud-starter-tencent-all:1.12.4-2021.0.8 spring.boot:2.7.11 spring.cloud:2021.0.7 期待您的回答,感谢