Spring 与 Spring 云的启动兼容性

Spring Boot compatibility with Spring Cloud

我在发布火车 Dalston.SR4 下有一个 Spring 云配置服务器 运行。它已经投入生产几年,为一些较旧的 Spring 启动应用程序提供配置服务。今天我正在尝试构建一个新的 Spring Boot 2.3.0 应用程序。当我的应用程序启动并尝试从配置服务器获取其配置时,配置服务器只是 returns 406 不可接受。我可以成功浏览到配置 URL 我的应用正在尝试从我的浏览器中获取并查看配置,所以我只是想知道这是否是版本兼容性问题?

是的,有!

Greenwich builds and works with Spring Boot 2.1.x, and is not expected to work with Spring Boot 1.5.x.

Note: The Dalston release train will reach end-of-life in December 2018. Edgware will follow the end-of-life cycle of Spring Boot 1.5.x.

The Dalston and Edgware release trains build on Spring Boot 1.5.x, and are not expected to work with Spring Boot 2.0.x.

下一个计划 Spring 云 Hoxton 发布序列版本,Hoxton.SR5 将在本月与 Spring 启动 2.3.0 支持一起提供。您将需要升级到该版本以保持与 Spring Boot 的兼容性。或者,2020.0.0 发布系列还提供 Spring 引导 2.3.0 支持,但该系列中还没有 GA 版本可用。

请注意 https://spring.io/projects/spring-cloud 页面上的 table:

另请注意,Edgware 发布系列中的一些初学者 were renamed。因此,阅读当前版本和要更新到的版本之间的中间发行系列的所有发行说明是有意义的。