解决springboot would dispatch back to the current handler URL [xxxx] again.
控制台出现如下错误Circular view path [login]: would dispatch back to the current handler URL [/login] again. Check your ViewResolver setup!代码示例解决方式将Controller 改为RestController@RestController注解相当于@ResponseBody + @Controller合在一起的作用。1.在@controller注解中,返回的是字符
原创
2020-11-09 20:15:16 ·
4791 阅读 ·
4 评论