当前位置:网站首页>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>
边栏推荐
- About the installation of sklearn library
- How does the Flutter TapGestureRecognizer work
- Flutter learning three-Flutter basic structure and principle
- 2022杭电多校第一场01
- Shell(4) Conditional Control Statement
- 二叉树基本性质+oj题解析
- Day019 Method overriding and introduction of related classes
- Using QR codes to solve fixed asset management challenges
- 【cesium】Load and locate 3D Tileset
- jvm 三 之堆与栈
猜你喜欢

RL reinforcement learning summary (1)

The difference between span tag and p

MySQL Foundation (1) - Basic Cognition and Operation

About the installation of sklearn library

作业8.4 进程间的通信 管道与信号

"Recursion" recursion concept and typical examples

【cesium】元素高亮显示

ESP32 485 Illuminance

服务器磁盘阵列

dedecms后台生成提示读取频道信息失败的解决方法
随机推荐
雷克萨斯lm的安全性到底体现在哪里?一起来看看吧
结构光三维重建(二)线结构光三维重建
dedecms dream weaving tag tag does not support capital letters fix
算法---一和零(Kotlin)
write the story about us
2023 International Conference on Information and Communication Engineering (JCICE 2023)
【cesium】元素高亮显示
Dephi reverse tool Dede exports function name MAP and imports it into IDA
dedecms error The each() function is deprecated
Please write the SparkSQL statement
Mini Program_Dynamic setting of tabBar theme skin
u-boot in u-boot, dm-pre-reloc
Analyses the mainstream across technology solutions
Basic properties of binary tree + oj problem analysis
【学习笔记之菜Dog学C】动态内存管理之经典笔试题
Flutter学习三-Flutter基本结构和原理
How does the Flutter TapGestureRecognizer work
1068找到更多的硬币
大学物理---质点运动学
Flex layout frog game clearance strategy