学无先后,达者为师

网站首页 编程语言 正文

启动spring-boot出现Error creating bean with name ‘configurationPropertiesBeans‘错误

作者:莽夫三拳有点疼 更新时间: 2024-04-08 编程语言

当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文件即可
在这里插入图片描述
运行成功:
在这里插入图片描述

原文链接:https://blog.csdn.net/weixin_52100990/article/details/123592777

  • 上一篇:没有了
  • 下一篇:没有了
栏目分类
最近更新