2.6.6boot renren-fast导入nacos discovery依赖启动报错

提问 3 1514
半九十
半九十 2022-07-23
版本:renren-fast 2.6.6boot 开发环境:JDK8 IDEA
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationPropertiesBeans' defined in class path resource [org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.context.properties.ConfigurationPropertiesBeans] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2] Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.context.properties.ConfigurationPropertiesBeans] from ClassLoader [sun.misc.Launcher$AppClassLoader@18b4aac2] Caused by: java.lang.NoClassDefFoundError: org/springframework/boot/context/properties/ConfigurationBeanFactoryMetadata Caused by: java.lang.ClassNotFoundException: org.springframework.boot.context.properties.ConfigurationBeanFactoryMetadata 请问是目前版本不适配吗,我试了好几个nacos了
回帖
  • https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E 这里有版本要求,可以看看
    0 回复
  • 半九十
    半九十 (楼主)
    2022-07-23
    确实应该是2.6.6boot版本太高了
    0 回复
  • 半九十
    半九十 (楼主)
    2022-07-23
    @Mark 确实应该是2.6.6boot版本太高了
    0 回复