谷粒商城3
目前进展为项目基本架构搭建好了 数据库初步完成 后台管理系统用的人人开源搭建完成 下一步 把每个项目的逆向工程文件生成出来
期间遇见了一个问题,项目启动不起来 下边是报错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'configurationPropertiesBeans' defined in class path resource [org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.context.properties.ConfigurationPropertiesBeans]: Factory method 'configurationPropertiesBeans' threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/boot/context/properties/ConfigurationBeanFactoryMetadata
问题原因就是 springboot的版本和 springcloud版本匹配不到一起
所以我把版本号,改为下边这个
org.springframework.boot
spring-boot-starter-parent
2.1.8.RELEASE
com.xiaol.guliproduct product 0.0.1-SNAPSHOT product Demo project for Spring Boot
1.8
Greenwich.SR3