使用:
创建项目的时候添加依赖,和添加web一样
在pom.yml 添加依赖
<dependency> <groupId>net.sourceforge.nekohtml</groupId> <artifactId>nekohtml</artifactId> <version>1.9.22</version> </dependency>
Sprint Boot----集成 Thymeleaf 模板引擎
原文:https://www.cnblogs.com/yanxiaoge/p/10804696.html