1,引入依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
2,添加静态文件
3,测试
2019年12月14日 Springboot项目搭建(2)-整合静态文件
原文:https://www.cnblogs.com/excellencesy/p/12069067.html