spring boot、spring cloud、spring cloud alibaba 版本之间兼容对照表

一、spring boot、spring cloud 之间的对应关系

拉取官网版本数据:https://start.spring.io/actuator/info

{
   
    "git": {
   
        "branch": "93e528fc7e79e41a513e493d057499401a15eb67",
        "commit": {
   
            "id": "93e528f",
            "time": "2022-05-12T12:07:39Z"
        }
    },
    "build": {
   
        "version": "0.0.1-SNAPSHOT",
        "artifact": "start-site",
        "versions": {
   
            "spring-boot": "2.6.6",
            "initializr": "0.13.0-SNAPSHOT"
        },
        "name": "start.spring.io website",
        "time": "2022-05-12T12:09:13.057Z",
        "group": "io.spring.start"
    },
    "bom-ranges": {
   
        "codecentric-spring-boot-admin": {
   
            "2.4.3": "Spring Boot >=2.3.0.M1 and <2.5.0-M1",
            "2.5.6": "Spring Boot >=2.5.0.M1 and <2.6.0-M1",
            "2.6.5": "Spring Boot >=2.6.0.M1 and <2.7.0-M1"
        },
        "solace-spring-boot": {
   
            "1.1.0": "Spring Boot >=2.3.0.M1 and <2.6.0-M1",
            "1.2.1": "Spring Boot >=2.6.0.M1 and <2.7.0-M1"
        }
### Spring CloudSpring Cloud AlibabaSpring Boot兼容版本对照表 对于项目开发而言,选择合适的框架组合至关重要。以下是经过整理的Spring CloudSpring Cloud Alibaba以及Spring Boot之间的稳定兼容版本列表: | Spring Cloud | Spring Cloud Alibaba | Spring Boot | |--| | Hoxton.SR8 | 2.2.5.RELEASE | 2.3.4.RELEASE | | 2020.0.3 (Ilford SR3) | 2021.1.LTS (1.5.7) | 2.5.9 | | 2021.0.5 (Edgware SR5)| 2021.1.LTS (1.5.7) | 2.6.7 | 上述表格展示了不同版本间的相互支持情况[^1]。 当构建基于微服务架构的应用程序时,确保所使用的组件之间具有良好的兼容性可以减少许多不必要的麻烦并提高系统的稳定性[^2]。 ```java // 示例代码用于展示如何在pom.xml中配置依赖项 <dependencies> <!-- Spring Boot Starter Parent --> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>2.3.4.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <!-- Spring Cloud Dependency Management --> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Hoxton.SR8</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <!-- Spring Cloud Alibaba Dependency Management --> <dependencyManagement> <dependencies> <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-alibaba-dependencies</artifactId> <version>2.2.5.RELEASE</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> </dependencies> ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值