工具篇--SpringBoot与SpringCloud 的版本对应关系&SpringBoot与JDK对应关系(官网文档解释)

365彩票app下载2020 📅 2025-07-04 13:23:32 ✍️ admin 👀 1792 ❤️ 957
工具篇--SpringBoot与SpringCloud 的版本对应关系&SpringBoot与JDK对应关系(官网文档解释)

文章目录

前言一、SpringCloud 与SpringBoot 版本对应关系:1. 1 进入 SpringCloud 官网1. 2 关系对应:1. 3 SpringCloud 的版本使用:

二、SpringBoot与JDK对应关系:2.1.选择spring boot 的版本:2.2 进入到该springboot版本的文档中:

总结

前言

通常我们创建springboot 项目时都会用的springcloud 框架对springboot 进行整合,所以此时就非常有必要了解他们之间的版本对应关系了,最准确的信息就需要到官网进行了解。

一、SpringCloud 与SpringBoot 版本对应关系:

1. 1 进入 SpringCloud 官网

地址: https://spring.io/projects/spring-cloud/#overview

这里列出了 SpringCloud 的最近几个版本,在往下看也说明了 从 2020.0.x 及以前的版本不在进行维护了;

Spring Cloud Dalston, Edgware, Finchley, Greenwich and 2020.0 (aka Ilford) have all reached end of life status and are no longer supported.

在 “Table 1. Release train Spring Boot compatibility (see here for more detailed information).” 我们可以点击here查看更加具体的信息;也可以直接访问改地址:https://github.com/spring-cloud/spring-cloud-release/wiki/Supported-Versions#supported-releases

1. 2 关系对应:

表格中列举了-SpringBoot与SpringCloud,顺带也列举其他组件与SpringCloud 的版本对应关系;其中"spring-boot" 列 就是SpringBoot与SpringCloud 的版本对应关系;

1. 3 SpringCloud 的版本使用:

在 1. 2 关系对应 我们可以看到SpringCloud 的版本 2023.0 (Leyton) 2022.0 (Kilburn) 2021.0 (Jubilee) 这些实际上是它的大版本,它们后面还有小版本,而我们项目中使用的也是它们具体的某个小版本,在官网往下翻可以看到 其对 SpringCloud 的版本的命名:

Release Train Naming In early 2020, the release train versioning scheme changed. We now follow Calendar Versioning or calver for short. We follow the YYYY.MINOR.MICRO scheme, where MINOR is an incrementing number that starts at zero each year. The MICRO segment corresponds to suffixes previously used: .0 is analogous to .RELEASE and .2 is analogous to .SR2. Pre-release suffixes also change from using a . to a - for the separator, for example 2020.0.0-M1 and 2020.0.0-RC2. We will also stop prefixing snapshots with BUILD- – for example, 2020.0.0-SNAPSHOT. A Release Train generation is defined by the first two parts of the version, so 2020.0 (codename Ilford) is the Release Train generation, and 2020.0.0 is the first release. In other words, the first two parts of the version are not MAJOR.MINOR. The previous scheme was based on London Tube Station names. These will be continued to be used for code names, but these names will no longer be used in versions published to Maven repositories.

可以看到它的命名规则是 YYYY.MINOR.MICRO ;其中 YYYY 代表年份,MINOR 每年都从 0 开始;MICRO 是小版本;

在 SpringCloud 概览的页面我们选择任意一个版本进入,就可以看到改大版本下都有哪些小版本:

展示了改大版本下的小版本: 在右侧页面我们可以看到每个大版本下的小版本列表;点击小版本就可以直接跳到小版本:

二、SpringBoot与JDK对应关系:

Spring Cloud 通常跟随 Spring Boot 的支持和兼容性,而 Spring Boot 对 JDK 版本有特定的要求,所以在使用 Spring Boot也需要知道其对Jdk的要求:

2.1.选择spring boot 的版本:

地址:https://docs.spring.io/spring-boot/docs/

2.2 进入到该springboot版本的文档中:

选择某个版本 然后点击reference/ 目录: 然后点击html/ 目录: 选择 Getting Started

在 System Requirements 章节中可以看到其对应的jdk 版本:

总结

本文按照Spring 的官网对-SpringBoot与SpringCloud 以及SpringBoot与JDK 的版本对应关系进行整理。

相关推荐

365彩票app下载2020 第一现场9DVR虚拟现实体验馆— 一家小店,万人围观
365bet备用器 一个山字边加个乘是什么字?
365彩票app下载2020 亲测两通一达(圆通申通韵达)最真实的时效,哪家速度比较快?我朋友在越秀区小北, 拼多多 买了5个快递,都是床单被套之类(...
bt365最快线路检测 汽车整车型号怎么规定的?
bt365最快线路检测 iphone和ipad怎么同步 iphone和ipad同步方法【教程】
365彩票app下载2020 亲测两通一达(圆通申通韵达)最真实的时效,哪家速度比较快?我朋友在越秀区小北, 拼多多 买了5个快递,都是床单被套之类(...
365bet备用器 健康管理:跑步锻炼哪里的肌肉?
365彩票app下载2020 狗狗怀孕时间表,1

狗狗怀孕时间表,1

📅 07-03 👀 4140
365bet备用器 光遇11种攒心方法

光遇11种攒心方法

📅 06-28 👀 8660

友情伙伴