SpringBoot与SpringCloud的版本对应详细版

目前我取的都是当前最新的spring cloud 版本和 springboot 版本 。

https://blog.csdn.net/qq32933432/article/details/89375630

初学spring cloud的朋友可能不知道,其实SpringBoot与SpringCloud需要版本对应,否则可能会造成很多意料之外的错误,比如eureka注册了结果找不到服务类啊,比如某些jar导入不进来啊,等等这些错误。下面列出来springBoot和spring cloud的版本对应关系,需要配套使用,才不会出现各种奇怪的错误。

关于maven仓库的版本列表
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

depend 中不需要写版本,如果需要写版本,说明depend 不对,需要通过上面查找depend的对应的

版本对应关系
大版本对应:

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    Spring Cloud
1.5.2.RELEASE    Dalston.RC1
1.5.9.RELEASE    Edgware.RELEASE
2.0.2.RELEASE    Finchley.BUILD-SNAPSHOT
2.0.3.RELEASE    Finchley.RELEASE
 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值