前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >最新的SpringCloud与SpringBoot对应关系

最新的SpringCloud与SpringBoot对应关系

作者头像
程裕强
发布2021-09-23 15:13:10
1.2K0
发布2021-09-23 15:13:10
举报

1、SpringCloud与SpringBoot版本冲突

代码语言:javascript
复制
[INFO] Validation error:

[ERROR] org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.springframework.cloud:spring-cloud-starter-netflix-eureka-server:null:jar}: The version cannot be empty.
[ERROR] Maven server structure problem

[ERROR] org.apache.maven.artifact.InvalidArtifactRTException: For artifact {org.springframework.cloud:spring-cloud-starter-netflix-eureka-server:null:jar}: The version cannot be empty.
代码语言:javascript
复制
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.5.4</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

2、查找SpringCloud与SpringBoot版本关系

(1)查找Spring官方说明 https://start.spring.io/actuator/info

在这里插入图片描述
在这里插入图片描述

(2)解析JSON 将https://start.spring.io/actuator/info输出内容复制到 https://www.json.cn/

**加粗样式**
**加粗样式**

(3)获取到最新的SpringCloud与SpringBoot对应关系

代码语言:javascript
复制
"spring-cloud":{
            "Hoxton.SR12":"Spring Boot &gt;=2.2.0.RELEASE and &lt;2.4.0.M1",
            "2020.0.3":"Spring Boot &gt;=2.4.0.M1 and &lt;2.5.5-SNAPSHOT",
            "2020.0.4-SNAPSHOT":"Spring Boot &gt;=2.5.5-SNAPSHOT and &lt;2.6.0-M1",
            "2021.0.0-M1":"Spring Boot &gt;=2.6.0.M1 and &lt;2.6.0-SNAPSHOT",
            "2021.0.0-SNAPSHOT":"Spring Boot &gt;=2.6.0-SNAPSHOT"
}
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2021-09-16 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 1、SpringCloud与SpringBoot版本冲突
  • 2、查找SpringCloud与SpringBoot版本关系
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档