您的位置:首页 > 编程语言 > Java开发

Springboot学习笔记之Springboot 2.0特性

2017-08-15 00:00 357 查看
转自一位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。下面为原文解释:

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.

重点2:后续添加。。。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  springboot