-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Low level error in package naming in 2023.0.1.3 #3878
Comments
com.alibaba.cloud.nacos 不就是包名么? |
正常的包名, 而代码中错误,虽然看着是也是 java 中 packages 命名包含点不是不可以。但是在当前环境下就变成了两个不同的包,在 Spring Boot 环境下不同的包会出现 Bean 扫描不到或者注入失败的问题 |
Thank you very much, the community will fix it as soon as possible |
这个确实是个源文件命名问题,我们这边反馈到社区修复版本,但当前应该并不会影响正常逻辑运转 |
确实是啊,我也是才知道。看了编译后的包,竟然是会合并的。这样确实是不影响代码运行。 |
Spring Cloud Alibaba 2023.0.1.3 将 spring-cloud-starter-alibaba-nacos-config 拆分为 spring-cloud-starter-alibaba-nacos-config 和 spring-alibaba-nacos-config
升级之后会出现无法拉去配置中心配置的问题。
最初还以为是新版本引入了新的配置方式,所以导致老配置方式不可用。
通过查看 spring-alibaba-nacos-config 模块代码,发现是包名命名的低级错误,导致不可用。
这个错误部分代码被放置在了
com.alibaba.cloud.nacos
文件夹 下,而不是com
->alibaba
->cloud
->nacos
下面。The text was updated successfully, but these errors were encountered: