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

yaml 版本兼容问题 #317

Open
dujie-js opened this issue Dec 17, 2023 · 7 comments
Open

yaml 版本兼容问题 #317

dujie-js opened this issue Dec 17, 2023 · 7 comments

Comments

@dujie-js
Copy link

spring-boot-starter 版本号 3.0以上。snakeyaml 的版本号默认为2.0以上
组件的依赖 snakeyaml 版本号为1.29 com.alibaba.nacos.spring.util.parse.DefaultYamlConfigParse#createYaml 方法版本看起来没有做兼容

@17629354490
Copy link

有解决方案吗?是否要重构源码

@dujie-js
Copy link
Author

看起来解析方式需要调整

@17629354490
Copy link

我本地重写了DefaultYamlConfigParse,看起来是可以

@liangcz
Copy link

liangcz commented Jan 26, 2024

遇到同样的问题,也可以先改回properties配置文件

@jw-star
Copy link

jw-star commented Apr 19, 2024

+1 yml list无法解析,properties正常

@jw-star
Copy link

jw-star commented Apr 19, 2024

我本地重写了DefaultYamlConfigParse,看起来是可以

有例子吗

@imtzc
Copy link

imtzc commented May 13, 2024

目前0.3.0-RC只能支持到boot的3.1.11,3.2.*会报错,需要重写DefaultYamlConfigParse

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

No branches or pull requests

5 participants