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

相關文章
相關標籤/搜索