Circular view path [ ]: would dispatch back to the current handler URL again。在网上查看到很多都是说视图配置的问题,但是发现如果是使用thymeleaf的html文件,但是pom文件中缺少thymeleaf的dependency的话也会出现这个问题.
解决,加:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>