After springboot is connected to the springcloud-alibaba framework, an error will be reported at startup. It is difficult to troubleshoot according to the error message, so it can only be troubleshoot step by step. The reason for the problem I am currently encountering is that springboot, SpringCloud, and SpringCloudAlbaba directly have version dependencies. These three components must choose to specify the corresponding version number , otherwise an error will be reported when starting.
Official website description (version dependencies): https://github.com/alibaba/spring-cloud-alibaba/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E
Spring Cloud Alibaba Version | Spring Cloud Version | Spring Boot Version |
---|---|---|
2021.0.1.0 |
Spring Cloud 2021.0.1 |
2.6.3 |
2.2.7.RELEASE |
Spring Cloud Hoxton.SR12 |
2.3.12.RELEASE |
2021.1 |
Spring Cloud 2020.0.1 |
2.4.2 |
2.2.6.RELEASE |
Spring Cloud Hoxton.SR9 |
2.3.2.RELEASE |
2.1.4.RELEASE |
Spring Cloud Greenwich.SR6 |
2.1.13.RELEASE |
2.2.1.RELEASE |
Spring Cloud Hoxton.SR3 |
2.2.5.RELEASE |
2.2.0.RELEASE |
Spring Cloud Hoxton.RELEASE |
2.2.X.RELEASE |
2.1.2.RELEASE |
Spring Cloud Greenwich |
2.1.X.RELEASE |
2.0.4.RELEASE (stop maintenance, upgrade is recommended) |
Spring Cloud Finchley |
2.0.X.RELEASE |
1.5.1.RELEASE (stop maintenance, upgrade is recommended) |
Spring Cloud Edgware |
1.5.X.RELEASE |