在通过控制类访问页面时,报下面的错误:
This may be the result of an unspecified view, due to default view name generation.
在springboot中添加,就可以了
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>