springboot报错:"Circular view path [set]: would dispatch back to the current handler URL [/set] again. "

错误信息:
"Circular view path [set]: would dispatch back to the current handler URL [/set] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)"

最后在视图解析 controller上面加上@ResponseBody即可解决。

posted @ 2020-11-21 16:01  yx袁祥  阅读(525)  评论(0)    收藏  举报