报错信息
解决方法
pom.xml中加入如下依赖即可正确访问页面
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
pom.xml中加入如下依赖即可正确访问页面
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>