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

springboot 版本(2.5.4)存在与nacos版本兼容问题 #76

Open
huangquanwei99 opened this issue May 29, 2022 · 2 comments
Open

springboot 版本(2.5.4)存在与nacos版本兼容问题 #76

huangquanwei99 opened this issue May 29, 2022 · 2 comments

Comments

@huangquanwei99
Copy link

问题一: 使用 springboot 2.5.4 nacos 0.2.10 版本存在项目启动报错
问题二: springboot 版本 与 nacos 版本 版本关系对应表是否有(版本精确到小版本,避免出现版本冲突问题)
问题描述:
1)springboot 2.5.4 pom问题文件引入

com.alibaba.boot
nacos-config-spring-boot-starter
0.2.10

2)启动报错 java.lang.NoSuchMethodError: com.google.common.collect.Sets$SetView.iterator()Lcom/google/common/collect/UnmodifiableIterator;
3)找到缺失jar包 ,添加至pom文件 com.google.guava
4)启动报错 Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/context/properties/ConfigurationBeanFactoryMetadata
5)找资料发现,是springboot新版本 对nacos 使用方法进行了移除导致报错。

@huangquanwei99
Copy link
Author

这里有人解答问题吗?

@liangwei0101
Copy link

这里有人解答问题吗?

发了一个0.2.11-beta版本,你看下

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