SpringBoot SpringCloud spring framework 版本对应

说明

SpringBootSpringCloud的版本需要对应。因为官方不会保证SpringBootSpringCloud不同版本的兼容性。

Spring Cloud

Spring Boot

Angel

兼容Spring Boot 1.2.x

Brixton

兼容Spring Boot 1.3.x,也兼容Spring Boot 1.4.x

Camden

兼容Spring Boot 1.4.x,也兼容Spring Boot 1.5.x

Dalston版本、Edgware版本

兼容Spring Boot 1.5.x,不兼容Spring Boot 2.0.x

Finchley

兼容Spring Boot 2.0.x,不兼容Spring Boot 1.5.x

Greenwich

兼容Spring Boot 2.1.x

spring-boot和springframework、jdk的版本关系
spring-boot版本 依赖springframework jdk版本 发布时间
1.0.0.RELEASE 4.0.3.RELEASE 1.7.0_45 2014
1.1.0.RELEASE 4.0.5.RELEASE 1.7.0_55 2014
1.2.0.RELEASE 4.1.3.RELEASE 1.7.0_67 2014
1.3.0.RELEASE 4.2.3.RELEASE 1.8.0_60 2015
1.4.0.RELEASE 4.3.2.RELEASE 1.8.0_60 2016
1.5.01.RELEASE 4.3.6.RELEASE 1.8.0_101 2017
1.5.20.RELEASE 4.3.23.RELEASE 1.8.0_201 2019
2.0.0.RELEASE 5.0.4.RELEASE 1.8.0_141 2018
2.0.9.RELEASE 5.0.13.RELEASE 1.8.0_202 2019

其他
spring-cloud-dependencies 版本列表可查看:

https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-dependencies

spring-boot-starter-parent 版本列表可查看:

https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent

### Spring BootSpring Cloud Spring Cloud Alibaba 的版本兼容性 对于不同框架间的版本匹配,以下是基于现有资料整理的版本兼容性对照表: | Spring Boot | Spring Cloud | Spring Cloud Alibaba | |--|----------------------| | 2.1.x | Greenwich | 2.1.x | | 2.2.x | Hoxton | 2.2.x | | 2.3.x | Hoxton (SR系列) | 2.2.x | | 2.4.x | 2020.0.x | 2.2.x | | 2.5.x | 2020.0.x | 2.2.x | | 2.6.x | 2021.0.x | 2021.0.x | 从表格可以看出,在某些情况下,多个次要版本Spring Boot 可能会支持同一个主要版本Spring Cloud 或者 Spring Cloud Alibaba。 自2021年起,Spring Cloud Alibaba 版本命名方式进行了调整。新的命名规则为前三位代表所适配的 Spring Cloud 主要版本号,第四位表示该组合下的迭代次数。例如,针对 Spring Cloud 2021.0.1 发布的第一个 Spring Cloud Alibaba 版本将是 `2021.0.1.0`[^4]。 为了确保项目的稳定性,建议开发者依据实际需求选择合适的版本组合,并关注官方文档中的最新更新信息来获取最准确的支持情况[^5]。 ```java // 示例代码展示如何配置pom.xml文件以指定特定版本 <dependencyManagement> <dependencies> <!-- 使用BOM管理依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${springboot.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>${springcloud.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-alibaba-dependencies</artifactId> <version>${springcloudalibaba.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值