当前位置:网站首页>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>
边栏推荐
猜你喜欢
Flutter real machine running and simulator running
write the story about us
Excel Paint
ESP32 485 Illuminance
Flutter learning three-Flutter basic structure and principle
About the installation of sklearn library
OFDM 十六讲 5 -Discrete Convolution, ISI and ICI on DMT/OFDM Systems
【转】什么是etcd
【学生毕业设计】基于web学生信息管理系统网站的设计与实现(13个页面)
Mini Program_Dynamic setting of tabBar theme skin
随机推荐
2022牛客多校第四场C.Easy Counting Problem(EGF+NTT)
C语言-大白话理解原码,反码和补码
【cesium】3D Tileset 模型加载并与模型树关联
Flutter学习2-dart学习
Detailed explanation of each module of ansible
【学生毕业设计】基于web学生信息管理系统网站的设计与实现(13个页面)
coppercam入门手册[6]
【微信小程序】WXML模板语法-条件渲染
Basic properties of binary tree + oj problem analysis
2023 International Conference on Information and Communication Engineering (JCICE 2023)
for..in和for..of的区别
密码学系列之:PEM和PKCS7,PKCS8,PKCS12
入口点注入
8.04 Day35-----MVC three-tier architecture
server disk array
mutillidae download and installation
【软考 系统架构设计师】软件架构设计③ 特定领域软件架构(DSSA)
1.3 mysql批量插入数据
MySQL中控制导出文件后变为了\N有什么解决方案吗?
二叉树基本性质+oj题解析