SpringBoot版本選擇:
官網地址:https://spring.io/projects/spring-boot

SpringBoot官方目前最新最穩定版:2.3.1,如果單獨使用SpringBoot的話,建議就可以選擇官方指定的最新最穩定版。
但是,如果需要和SpringCloud整合,就得看SpringCloud的版本需要適配SpringBoot的哪個版本了。
SpringCloud版本選擇:
官網地址:https://spring.io/projects/spring-cloud

SpringCloud采用了 英國倫敦地鐵站 的名稱來命名,並由地鐵站名稱首字母 A-Z 一次類推的形式來發布迭代版本。例如 Angel 是第一個版本,Brixton 是第二個版本...,目前最新版本是Hoxton。
另外,當SpringCloud的發布內容積累到臨界點或者一個重大BUG被解決后,會發布一個“service releases” 版本,簡稱 SRX 版本,比如當前的 Hoxton SR6,就是SpringCloud發布的Hoxton版本的第6個SRX版本。
一步到位選擇SpringBoot版本的辦法:https://spring.io/projects/spring-cloud#learn


不知道為啥,我從第一個頁面看到的是Hoxton SR6版本,點進去后成了SR5版本,估計是剛發布SR6版本,對應的還沒更新...
通過下面其他方式,也可以看到對應的版本信息,但是沒有上面這個詳細:
在 https://spring.io/projects/spring-cloud#overview 中指定了不同的SpringCloud版本對應的SpringBoot版本:

官網建議:Hoxton版本的SpringCloud,需要對應2.2.x 版本的SpringBoot。
更詳細的版本對應查看方法:
查看地址:https://start.spring.io/actuator/info
返回內容:

這里就可以看到詳細的對應關系。
{ "git": { "branch": "2221108afdb26533bcbde43d88651c3a0735c92b", "commit": { "id": "2221108", "time": "2020-07-01T13:12:10Z" } }, "build": { "version": "0.0.1-SNAPSHOT", "artifact": "start-site", "versions": { "spring-boot": "2.3.1.RELEASE", "initializr": "0.9.0.BUILD-SNAPSHOT" }, "name": "start.spring.io website", "time": "2020-07-01T13:13:18.488Z", "group": "io.spring.start" }, "bom-ranges": { "azure": { "2.0.10": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE", "2.1.10": "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1", "2.2.4": "Spring Boot >=2.2.0.M1 and <2.3.0.M1", "2.3.1": "Spring Boot >=2.3.0.M1" }, "codecentric-spring-boot-admin": { "2.0.6": "Spring Boot >=2.0.0.M1 and <2.1.0.M1", "2.1.6": "Spring Boot >=2.1.0.M1 and <2.2.0.M1", "2.2.3": "Spring Boot >=2.2.0.M1" }, "solace-spring-boot": { "1.0.0": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1", "1.1.0": "Spring Boot >=2.3.0.M1" }, "solace-spring-cloud": { "1.0.0": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1" }, "spring-cloud": { "Finchley.M2": "Spring Boot >=2.0.0.M3 and <2.0.0.M5", "Finchley.M3": "Spring Boot >=2.0.0.M5 and <=2.0.0.M5", "Finchley.M4": "Spring Boot >=2.0.0.M6 and <=2.0.0.M6", "Finchley.M5": "Spring Boot >=2.0.0.M7 and <=2.0.0.M7", "Finchley.M6": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1", "Finchley.M7": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2", "Finchley.M9": "Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE", "Finchley.RC1": "Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE", "Finchley.RC2": "Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE", "Finchley.SR4": "Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT", "Finchley.BUILD-SNAPSHOT": "Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3", "Greenwich.M1": "Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE", "Greenwich.SR6": "Spring Boot >=2.1.0.RELEASE and <2.1.16.BUILD-SNAPSHOT", "Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.16.BUILD-SNAPSHOT and <2.2.0.M4", "Hoxton.SR6": "Spring Boot >=2.2.0.M4 and <2.3.2.BUILD-SNAPSHOT", "Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.3.2.BUILD-SNAPSHOT and <2.4.0.M1", "2020.0.0-SNAPSHOT": "Spring Boot >=2.4.0.M1" }, "spring-cloud-alibaba": { "2.2.1.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1" }, "spring-cloud-services": { "2.0.3.RELEASE": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE", "2.1.7.RELEASE": "Spring Boot >=2.1.0.RELEASE and <2.2.0.RELEASE", "2.2.3.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1" }, "spring-statemachine": { "2.0.0.M4": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1", "2.0.0.M5": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2", "2.0.1.RELEASE": "Spring Boot >=2.0.0.RELEASE" }, "vaadin": { "10.0.17": "Spring Boot >=2.0.0.M1 and <2.1.0.M1", "14.2.3": "Spring Boot >=2.1.0.M1 and <2.4.0-M1" }, "wavefront": { "2.0.0-SNAPSHOT": "Spring Boot >=2.1.0.RELEASE" } }, "dependency-ranges": { "okta": { "1.2.1": "Spring Boot >=2.1.2.RELEASE and <2.2.0.M1", "1.4.0": "Spring Boot >=2.2.0.M1 and <2.4.0-M1" }, "mybatis": { "2.0.1": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE", "2.1.3": "Spring Boot >=2.1.0.RELEASE and <2.4.0-M1" }, "geode": { "1.2.8.RELEASE": "Spring Boot >=2.2.0.M5 and <2.3.0.M1", "1.3.0.RELEASE": "Spring Boot >=2.3.0.M1 and <2.4.0-M1" }, "camel": { "2.22.4": "Spring Boot >=2.0.0.M1 and <2.1.0.M1", "2.25.1": "Spring Boot >=2.1.0.M1 and <2.2.0.M1", "3.3.0": "Spring Boot >=2.2.0.M1 and <2.3.0.M1", "3.4.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1" }, "open-service-broker": { "2.1.3.RELEASE": "Spring Boot >=2.0.0.RELEASE and <2.1.0.M1", "3.0.4.RELEASE": "Spring Boot >=2.1.0.M1 and <2.2.0.M1", "3.1.1.RELEASE": "Spring Boot >=2.2.0.M1 and <2.4.0-M1" } } }
