Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [jxsr2]:

报错如下:

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Circular view path [jxsr2]: would dispatch back to the current handler URL [/jxsr2] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)] with root cause

 

 

解决方法:

  加上@ResponseBody

 

 

 

参考链接:

【1】https://blog.csdn.net/weixin_44259720/article/details/103185972

posted @   先娶国王后取经  阅读(287)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· AI与.NET技术实操系列(六):基于图像分类模型对图像进行分类
历史上的今天:
2022-03-22 MySQL经典50题
点击右上角即可分享
微信分享提示