赞
踩
原文网址:框架版本对应_IT利刃出鞘的博客-CSDN博客_框架版本
官网网址
SpringBoot所有版本:https://docs.spring.io/spring-boot/docs/
SpringBoot具体版本(在文档里找到:System Requirements):
https://docs.spring.io/spring-boot/docs/{version}/reference/htmlsingle/
Spring boot | Spring Framework | jdk | maven | gradle |
3.1.x | 6.0.9 | 17-20 | 3.6.3+ | 7.5+ |
3.0.x | 6.0.9 | 17-20 | 3.5+ | 7.5+ |
2.7.x | 5.3.27 | 8-20 | 3.5+ | 6.8.x+ |
2.6.x | 5.3.27 | 8-19 | 3.5+ | 6.8.x+ |
2.5.x | 5.3.27+ | 8-18 | 3.5+ | 6.8.x+ |
2.4.x | 5.3.13+ | 8-16 | 3.5+ | 6.3+ |
2.3.x | 5.2.15.RELEASE+ | 8-15 | 3.5+ | 6.3+ |
2.2.x | 5.2.12.RELEASE+ | 8-15 | 3.3+ | 5.x+ |
2.1.x | 5.1.x | 8-9 | 3.3+ | 4.4+ |
2.0.x | 5.0.x | 8-9 | 3.2+ | 4 |
1.5.x | 4.3.x | 7 | 3.2+ | |
1.4.x | 4.2.x-4.3.x | 7 | 3.2+ | |
1.3.x | 4.2.x | 7 | 3.2+ | |
1.2.x | 4.1.x | 7 | 3.2+ |
官网给的版本信息:http://tomcat.apache.org/whichversion.html
Servlet Spec | JSP Spec | EL Spec | WebSocket Spec | JASPIC Spec | Apache Tomcat Version | Latest Released Version | Supported Java Versions |
4.0 | 2.3 | 3.0 | 1.1 | 1.1 | 9.0.x | 9.0.21 | 8 and later |
3.1 | 2.3 | 3.0 | 1.1 | 1.1 | 8.5.x | 8.5.42 | 7 and later |
3.1 | 2.3 | 3.0 | 1.1 | N/A | 8.0.x (superseded) | 8.0.53 (superseded) | 7 and later |
3.0 | 2.2 | 2.2 | 1.1 | N/A | 7.0.x | 7.0.94 | 6 and later(7 and later for WebSocket) |
2.5 | 2.1 | 2.1 | N/A | N/A | 6.0.x (archived) | 6.0.53 (archived) | 5 and later |
2.4 | 2.0 | N/A | N/A | N/A | 5.5.x (archived) | 5.5.36 (archived) | 1.4 and later |
2.3 | 1.2 | N/A | N/A | N/A | 4.1.x (archived) | 4.1.40 (archived) | 1.3 and later |
2.2 | 1.1 | N/A | N/A | N/A | 3.3.x (archived) | 3.3.2 (archived) | 1.1 and later |
见官网信息:https://mvnrepository.com/artifact/org.mybatis/mybatis-spring
点进去某一个版本后,在下边可以看到如下内容
官网信息:Spring Cloud
Release Train(SpringCloud) | Boot Version(SpringBoot) |
---|---|
Hoxton | 2.2.x |
Greenwich | 2.1.x |
Finchley | 2.0.x |
Edgware | 1.5.x |
Dalston | 1.5.x |
Greenwich builds and works with Spring Boot 2.1.x, and is not expected to work with Spring Boot 1.5.x。
版本组合问题
虽然官网明确给出了版本的对应,但有时候还会出错。
复现:
springboot(2.1.12.Release) + springcloud(Greenwich.SR3),使用配置中心和注册中心组合时没有问题,但在将RabbitMq添加进去时,发现没有创建rabbitmq连接,而且报警告:
- 2020-03-31 22:37:26.792 WARN 11384 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'bus-env' contains invalid characters, please migrate to a valid format.
- 2020-03-31 22:37:26.970 WARN 11384 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'bus-refresh' contains invalid characters, please migrate to a valid format.
- 2020-03-31 22:37:27.009 WARN 11384 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.
原因:
经上网查看,发现这是一个已知问题,作者正在修复。原文地址:https://segmentfault.com/q/1010000016994575
解决方法:
用稍老一点的版本:2.0.6.Release + Finchley.SR2。(2.0.x与Finchley匹配基本都可以)。
Spring、SpringBoot、JDK 、Servlet、Tomcat 等等之间的版本关系_湖边的小屋圣迹-CSDN博客
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。