报错:Circular view path [Login]: would dispatch back to the current handler URL [/Login] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.) at org.springframework.web.servlet.view.
原因:没有添加thymeleaf依赖。
解决办法:添加依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
然后重新启动程序即可。