springboot整合thymeleaf的方法是什么首先,在pom.xml文件中添加Thymeleaf的依赖:<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-thymeleaf</artifactId></dependency>