thymeleaf模板随手笔记 引入依赖 引入依赖 在maven项目的pom.xml文件中 引入thymeleaf模板引擎 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>