当前位置:网站首页>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>
边栏推荐
猜你喜欢

Acid (ACID) Base (BASE) Principles for Database Design

No regrets, the appium automation environment is perfectly built

AUTOCAD——标注关联
![[极客大挑战 2019]FinalSQL](/img/e4/0c8225ef7c5e7e5bdbaac2ef6fc867.png)
[极客大挑战 2019]FinalSQL

35岁的软件测试工程师,月薪不足2W,辞职又怕找不到工作,该何去何从?

flink读取mongodb数据源

Analyses the mainstream across technology solutions

使用IDEA连接TDengine服务器

概率论的学习和整理8: 几何分布和超几何分布

特征预处理
随机推荐
大学物理---质点运动学
JeeSite New Report
请写出SparkSQL语句
Why did you start preparing for the soft exam just after the PMP exam?
Homework 8.4 Interprocess Communication Pipes and Signals
[SWPU2019]Web1
The first performance test practice, there are "100 million" a little nervous
为什么刚考完PMP,就开始准备软考了?
dedecms后台生成提示读取频道信息失败的解决方法
从企业的视角来看,数据中台到底意味着什么?
creo怎么测量点到面的距离
8.04 Day35-----MVC three-tier architecture
Talk about 20 common problems in data governance
In the WebView page of the UI automation test App, the processing method when the search bar has no search button
多御安全浏览器新版下载 | 功能优秀性能出众
[BSidesCF 2019]Kookie
DNS被劫持如何处理?
[MRCTF2020]PYWebsite
bytebuffer put flip compact clear 方法演示
【8.1】代码源 - 【第二大数字和】【石子游戏 III】【平衡二叉树】