轉自一位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