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

nacos作为配置中心 使用yaml格式配置文件时 启动错误 #213

Open
lee-0421 opened this issue Jul 26, 2020 · 2 comments
Open

Comments

@lee-0421
Copy link

Issue Description

Type: bug report

Describe what happened (or what feature you want)

在整合spring-boot和nacos时 使用yaml格式配置文件启动错误 --使用了nacos-client中删除的StringUtils
image
image

nacos-client在1.3版本后删除了StringUtils这个类 而在DefaultYamlConfigParse这个类还在使用导致无法启动
image

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

spring-boot版本:2.2.5
nacos-config-spring-boot-starter版本:0.2.2
nacos-spring-context版本:0.3.6
nacos-client版本:1.3.1

Anything else we need to know?

@lee-0421
Copy link
Author

还有排除掉nacos-config-spring-boot-starter版本:0.2.2中引入的nacos-spring-context版本0.3.1后
手动引入nacos-spring-context版本0.3.6后 nacos配置自动刷新失效 不知道是什么原因....
image

@Da-Hong
Copy link

Da-Hong commented Jul 30, 2020

@lee-0421 自己拉源码改吧,common包里的StringUtils类可以用

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

2 participants