1、创建一个Springboot项目 2、在pom.xml中加入thymeleaf模板引擎的依赖 <!-- springboot web开发thymeleaf模板 --> <dependency> <groupId>or