springboot2.2.7 @RequestMapping视图跳转失败
显示:
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.)
解决办法:
1.版本从springboot2.2.7改为2.2.6
2.加入spring-boot-starter-thymeleaf依赖