***************************
APPLICATION FAILED TO START
***************************
Description:
Your project setup is incompatible with our requirements due to following reasons:
- Spring Boot [2.2.2.RELEASE] is not compatible with this Spring Cloud release train
Action:
Consider applying the following actions:
- Change Spring Boot version to one of the following versions [2.3.x, 2.4.x] .
You can find the latest Spring Boot versions here [https://spring.io/projects/spring-boot#learn].
If you want to learn more about the Spring Cloud Release train compatibility, you can visit this page [https://spring.io/projects/spring-cloud#overview] and check the [Release Trains] section.
If you want to disable this check, just set the property [spring.cloud.compatibility-verifier.enabled=false]
登錄 spring官網,查看springcloud和boot版本對應關系。
https://spring.io/projects/spring-cloud#overview
| Release Train | Boot Version |
|---|---|
| Hoxton |
2.2.x |
| Greenwich |
2.1.x |
| Finchley |
2.0.x |
| Edgware |
1.5.x |
| Dalston |
1.5.x |
當初偷懶,springcloud引入過程中pom中的version直接寫的是RELEASE。由於boot對應的版本是2.2.2.RELEASE,將springcloud版本修改為Hoxton.SR3,reimport,再次編譯通過。
雖然官網springboot最新版本已發布2.3.0,沒有看到與springcloud間的對應關系,沒有更新到 2.3.x版了。
