nacos-spring-boot-project
nacos-spring-boot-project copied to clipboard
升级到spring 2.4.1 提示ConfigurationBeanFactoryMetadata 找不到
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nacosConfigurationPropertiesBinder': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.boot.nacos.config.binder.NacosBootConfigurationPropertiesBinder]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/boot/context/properties/ConfigurationBeanFactoryMetadata
2.4.1 ConfigurationBeanFactoryMetadata is removed
https://github.com/nacos-group/nacos-spring-boot-project/issues/159 一样问题
升级,我也遇到了同样的问题,你怎么解决的 @onexuan
升级,我也遇到了同样的问题,你怎么解决的 @onexuan
因为编译工程镜像时要求spring 2.4.0以上,试改一下,但nacos代码总体不熟悉,其他开源库也没支持2.4.1,只能再==看
Update on NAOCS-Starter's attempt to be 2.4 compatible
- [x] Find the problem
- [x] Solve the problem
- [ ] Complete compatibility and NACOS is working
- [ ] Merge PR
https://github.com/alibaba/spring-cloud-alibaba/issues/1901
我也是,spring-boot 2.4.1-RELEASE nacos-config 使用的是 2.0.0
什么时候能发布啊
隔壁 nacos 库里有解决方案 https://github.com/alibaba/nacos/issues/4554
springboot 2.4.7 2.5.1都出来了. 这问题还不解决.非让我们自己魔改吗
这半年过去了。。还没改。。。
呵呵,以后还是少用阿里的开源组件,各种问题。这都快一年了,还没解决,大家不可能为了这破玩意不升级spring boot版本。
催一下~
好耶!
一样
升级到0.2.11解决该问题,22年6月份发的版本。目前SpringBoot2.7.1可以使用,还有一种方案时更换alibaba-cloud,使用cloud的方式集成
@it235 SpringBoot2.7.1 试过可以了吗?