当前位置:网站首页>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>
边栏推荐
- Error creating bean with name ‘configDataContextRefresher‘ defined in class path resource
- 大学物理---质点运动学
- The underlying mechanism of the class
- About the installation of sklearn library
- C language - vernacular to understand the original code, inverse code and complement code
- write the story about us
- 开发一套高容错分布式系统
- Day14 jenkins deployment
- 1.3 mysql批量插入数据
- 【解码工具】Bitcoin的一些在线工具
猜你喜欢

ESP32 485 Illuminance

【cesium】Load and locate 3D Tileset

Homework 8.4 Interprocess Communication Pipes and Signals

Please write the SparkSQL statement

逆向理论知识4

The mall background management system based on Web design and implementation

upload上传图片到腾讯云,如何上传图片

"Recursion" recursion concept and typical examples

The difference between span tag and p

【Transfer】What is etcd
随机推荐
dedecms dream weaving tag tag does not support capital letters fix
number_gets the specified number of decimals
write the story about us
Develop a highly fault-tolerant distributed system
How to deal with DNS hijacking?
2022牛客多校第四场C.Easy Counting Problem(EGF+NTT)
Flutter learning - the beginning
Flutter real machine running and simulator running
LAB Semaphore Implementation Details
1068找到更多的硬币
Please write the SparkSQL statement
1.3 mysql批量插入数据
[WeChat applet] WXML template syntax - conditional rendering
【软考 系统架构设计师】软件架构设计③ 特定领域软件架构(DSSA)
算法---一和零(Kotlin)
【转】什么是etcd
About the installation of sklearn library
[cesium] 3D Tileset model is loaded and associated with the model tree
for..in和for..of的区别
Visibility of multi-column attribute column elements: display, visibility, opacity, vertical alignment: vertical-align, z-index The larger it is, the more it will be displayed on the upper layer