主要就是在搭建环境的时候注意版本问题,避免少入坑。
版本命名的故事
有不同的版本,为了管理主项目和子项目的依赖关系,为了避免冲突和误解,主项目与子项目并没有使用直接的数学的版本的形式,而是用的是 伦敦的 地铁站的 名字进行的命名.所有的字母是从A–Z进行的排序迭代更新的.
故第一个spirng的第一个名称为Angel 第二个版本名 Britxton —>Camden–>Dalston–
当产生一个大的 bug的修复的 或者 一个项目的顶峰 时 会发布一个 Service Release 版本, --> 简称为 SR(x) ---->此处的x 不是x是数字的递增
Spring Cloud与Spring Boot之间的关系
这是目前发行的Spring Cloud版本与Spring boot对应关系,摘自与Spring Cloud中文官方文档,Spring Cloud是基于Spring Boot开发的云应用框架
- Greenwich 是基于Spring Boot 2.1.x构建的
- 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, 之上,但也支持 1.4.x.
- Angel 是构建在 Spring Boot 1.2.x, 之上,但也兼容 Spring Boot 1.3.x.
注意: Angel 和 Brixton 两个版本已于2017年7月终止不再进行维护。