当前位置:网站首页>Error creating bean with name 'configDataContextRefresher' defined in class path resource
Error creating bean with name 'configDataContextRefresher' defined in class path resource
2022-08-05 05:12:00 【zhm_sky】
问题原因:在创建springboot项目的时候,引入了cloud的相关组件,但是后面springboot的版本太高,So I manually downgraded the version.问题来了,此时的springboot和cloudThe version does not correspond,The following is the version compatibility table of the two,Please check and modify the corresponding version by yourself.
例如我的springboot版本为2.2.3,
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.3.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
那么对应的springcloud版本为H,Spring Cloud Alibaba版本为2.1.0
<dependencyManagement>
<dependencies>
<!--Spring Cloud-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!--Spring Cloud Alibaba-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.1.0.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
边栏推荐
猜你喜欢
LeetCode:1403. 非递增顺序的最小子序列【贪心】
Using QR codes to solve fixed asset management challenges
The mall background management system based on Web design and implementation
u-boot debugging and positioning means
RL reinforcement learning summary (1)
类的底层机制
u-boot调试定位手段
Excel画图
『递归』递归概念与典型实例
【学生毕业设计】基于web学生信息管理系统网站的设计与实现(13个页面)
随机推荐
UVA10827
Dephi reverse tool Dede exports function name MAP and imports it into IDA
【Transfer】What is etcd
[cesium] element highlighting
ESP32 485 Illuminance
mysql数据库表什么字段类型的存储长度最大?
Mini Program_Dynamic setting of tabBar theme skin
雷克萨斯lm的安全性到底体现在哪里?一起来看看吧
数字_获取指定位数的小数
基于Web的商城后台管理系统的设计与实现
About the installation of sklearn library
uva1325
LeetCode:1403. 非递增顺序的最小子序列【贪心】
u-boot debugging and positioning means
Qt produces 18 frames of Cupid to express his love, is it your Cupid!!!
Flutter学习4-基本UI组件
Mvi架构浅析
[informix] Resolving startup errors and solutions
C#关于set()和get()方法的理解及使用
What is ASEMI photovoltaic diode, the role of photovoltaic diode