SSM:Circular view path []: would dispatch back to the current handler URL

在这里插入图片描述
Circular view path [index]: would dispatch back to the current handler URL [/ssm_war_exploded/index] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
这里就是我当时出现的问题,使用翻译大概知道了报错的意思,就是路由在index这里形成了回环,index出错,又跳向index,所以找到形成回环的地方,我这边直接将全部的有关index 的代码都注释了,问题解决了一部分。

其实我觉得,解决问题首先应该根据报错来,你应该理解错误说的什么,这个问题一出来,就把我吓傻了,这么长,第一次遇见,百度翻译之后可能也不知道,但是后面就会知道如何解决,如果你不知道报错的意思,你只能跟着百度走,可能就没有办法结合百度答案解决问题。

所以我建议一定要理解报错。

如果没有解决,可以看看下面这些文章。
SSM出现Circular view path []: would dispatch back to the current handler URL错误解决

发布了30 篇原创文章 · 获赞 21 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_41288824/article/details/104202501
今日推荐