下面从SpringCloud Alibaba官方摘抄过来的SpringCloud Alibaba、SpringCloud、SpringBoot三者版本对应关系。
Spring Cloud Version | Spring Cloud Alibaba Version | Spring Boot Version |
---|---|---|
Spring Cloud 2020.0.0 |
2021.1 |
2.4.2 |
Spring Cloud Hoxton.SR8 |
2.2.5.RELEASE |
2.3.2.RELEASE |
Spring Cloud Greenwich.SR6 |
2.1.4.RELEASE |
2.1.13.RELEASE |
Spring Cloud Hoxton.SR3 |
2.2.1.RELEASE |
2.2.5.RELEASE |
Spring Cloud Hoxton.RELEASE |
2.2.0.RELEASE |
2.2.X.RELEASE |
Spring Cloud Greenwich |
2.1.2.RELEASE |
2.1.X.RELEASE |
资料参考地址
https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E
其他
在Maven的仓库源把阿里云的镜像也添加进去吧,不然由于网络原因下载会比较慢。添加路径:
maven安装路径 ->conf ->settings.xml ->mirrors节点下添加阿里云源路径:
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>