boot使用thymeleaf版本的问题 浅谈spring
浅谈spring,boot使用thymeleaf版本的问题,博智网带你了解详细信息 。
spring boot使用thymeleaf版本问题Spring boot默认使用的是thymeleaf的2版本,这个版本比较低,有些功能不支持,需要切换成3版本
在properties中加入<thymeleaf.version>3.0.9.RELEASE</thymeleaf.version><thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>


thymeleaf在Maven的版本配置<properties><thymeleaf.version>3.0.11.RELEASE</thymeleaf.version><thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version></properties>
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
【boot使用thymeleaf版本的问题 浅谈spring】以上为个人经验,希望能给大家一个参考,也希望大家多多支持趣讯吧 。
推荐阅读
- bios中fastboot要开吗
- 蚕丝被的保养 蚕丝被使用保养全攻略
- 3a香料的使用方法
- 如何延长防晒霜的使用时间
- 绝地求生喷子使用技巧
- 废文网必须注册才能使用吗
- 水粉颜料第一次怎么使用
- 华为手机如何设置使用智慧搜索
- 妆前啫喱使用顺序?
- 手机隐私照片在哪里查看
