版权声明:jiankang https://blog.csdn.net/jiankang66/article/details/89059908
我出现这个问题,找了好多,都没解决,最后发现配置错了,pom.xml中的依赖引入错了,html出现不了,应该引入的是
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-thymeleaf -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<version>2.1.2.RELEASE</version>
</dependency>