当pom.xml中的spring-boot-starter-parent和spring-cloud-starter-netflix-eureka-server依赖的版本不一致是会发生以下错误:Error creating bean with name ‘configurationPropertiesBeans’ defined in class path resource [org/springframework/cloud/autoconfigure/ConfigurationPropertiesRebinderAutoConfiguration.class]
如:
在这里将两者的版本号version改为一致即可
最后再鼠标Reimport一下pom文件即可
运行成功:



