springBoot ajax 报错 Circular view path [xx: would dispatch...

报错以下java

javax.servlet.ServletException: Circular view path [xx]: would dispatch back to the current handler URL [/xx] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)ajax

 

我用的是spring boot ajax调用时报的错, 我出错的缘由是忘加注解@ResponseBodyspring

相关文章
相关标签/搜索