当前位置:网站首页>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 04:23:00 【zhm_sky】
问题原因:在创建springboot项目的时候,引入了cloud的相关组件,但是后面springboot的版本太高,于是乎手动降了版本。问题来了,此时的springboot和cloud版本出现了不对应,以下是两者的版本兼容对应表,请自行对照修改对应版本。
例如我的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>
边栏推荐
猜你喜欢
![[Geek Challenge 2019]FinalSQL](/img/e4/0c8225ef7c5e7e5bdbaac2ef6fc867.png)
[Geek Challenge 2019]FinalSQL

App rapid development and construction experience: the importance of small programs + custom plug-ins

C+ +核心编程

How to solve the three major problems of bank data collection, data supplementary recording and index management?
![[SWPU2019]Web1](/img/06/36e69a2d7d5475a6749a7d81edf50f.png)
[SWPU2019]Web1

C++ core programming

Four-digit display header design

bytebuffer 内部结构

Analyses the mainstream across technology solutions

大学物理---质点运动学
随机推荐
Qixi Festival code confession
【8.1】代码源 - 【第二大数字和】【石子游戏 III】【平衡二叉树】
[CISCN2019 South China Division]Web11
UE4 opens door via interaction (keyboard key)
Detailed explanation of Mysql's undo log
[BSidesCF 2019]Kookie
数字孪生技术在电力系统中的应用现状
日志导致线程Block的这些坑,你不得不防
Application status of digital twin technology in power system
重载运算符
DEJA_VU3D - Cesium功能集 之 059-腾讯地图纠偏
JeeSite New Report
DEJA_VU3D - Cesium功能集 之 056-智图Arcgis地图纠偏
DEJA_VU3D - Cesium功能集 之 057-百度地图纠偏
软件管理rpm
DNS被劫持如何处理?
Event parse tree Drain3 usage and explanation
bytebuffer internal structure
What is ASEMI photovoltaic diode, the role of photovoltaic diode
动力小帆船制作方法简单,电动小帆船制作方法