转自一位springboot爱好者的分享: http://therealdanvega.com/blog/2017/05/19/spring-boot-2-first-release程序员
重点1: springboot推荐使用thymeleaf模板,在2.0中为何将spring-boot-starter-thymeleaf中的spring-boot-starter-web依赖删除了。由于程序员在建立web项目时可能选择使用spring-boot-starter-webflux。下面为原文解释:web
Previously several Spring Boot starters were transitively depending on Spring MVC with spring-boot-starter-web
. With the new support of Spring WebFlux, spring-boot-starter-mustache
and spring-boot-starter-thymeleaf
aren’t depending on on those anymore. It is the developer’s responsibility to choose and add spring-boot-starter-web
or spring-boot-starter-webflux
as dependencies.spring
重点2:后续添加。。。springboot