当前位置:网站首页>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>
边栏推荐
- UE4 通过互动(键盘按键)开门
- token, jwt, oauth2, session parsing
- [CISCN2019 华东南赛区]Web11
- App rapid development and construction experience: the importance of small programs + custom plug-ins
- [CISCN2019 South China Division]Web11
- dedecms织梦tag标签不支持大写字母修复
- About the installation of sklearn library
- UE4 opens door via interaction (keyboard key)
- 日志导致线程Block的这些坑,你不得不防
- BI业务分析思维:现金流量风控分析(二)信用、流动和投资风险
猜你喜欢

There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space

Feature preprocessing

关于sklearn库的安装

In the WebView page of the UI automation test App, the processing method when the search bar has no search button

UE4 通过与其它Actor互动开门

bytebuffer internal structure

多御安全浏览器新版下载 | 功能优秀性能出众

四位数显表头设计
![[极客大挑战 2019]FinalSQL](/img/e4/0c8225ef7c5e7e5bdbaac2ef6fc867.png)
[极客大挑战 2019]FinalSQL

炎炎夏日教你利用小米智能家居配件+树莓派4接入Apple HomeKit
随机推荐
[SWPU2019]Web1
What is ASEMI photovoltaic diode, the role of photovoltaic diode
[SWPU2019]Web1
浅析主流跨端技术方案
多御安全浏览器新版下载 | 功能优秀性能出众
C+ +核心编程
小程序_动态设置tabBar主题皮肤
How do newcomers get started and learn software testing?
Please write the SparkSQL statement
将故事写成我们
Shell(4)条件控制语句
The solution to the failure to read channel information when dedecms generates a message in the background
8.04 Day35-----MVC three-tier architecture
1007 Climb Stairs (greedy | C thinking)
iMedicalLIS listener (2)
【8.4】代码源 - 【数学】【历法】【删库】【不朴素的数列(Bonus)】
C语言-大白话理解原码,反码和补码
[MRCTF2020] PYWebsite
bytebuffer 使用demo
Day14 jenkins deployment