Spring boot和Spring cloud對應版本兼容問題
最近要搭建一個網關系統,使用到了Spring cloud,在引入對應的依賴后,啟動時報錯org.springframework.boot.builder.SpringApplicationBuilder.
通過網上搜索資料,查到是由於Spring boot版本和spring cloud版本不兼容導致的,由於當前我使用的是Spring boot 2.1.3,對應的應該使用Spring cloud 的Finchley版本。
Spring cloud | Spring boot |
---|---|
Finchley | 兼容Spring Boot 2.0.x,不兼容Spring Boot 1.5.x |
Dalston和Edgware | 兼容Spring Boot 1.5.x,不兼容Spring Boot 2.0.x |
Camden | 兼容Spring Boot 1.4.x,也兼容Spring Boot 1.5.x |
Brixton | 兼容Spring Boot 1.3.x,也兼容Spring Boot 1.4.x |
Angel | 兼容Spring Boot 1.2.x |