Circular view path [success]: would dispatch back to the current handler URL [/success] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
检查版本;需要对应;如3.0.11对应2.1.1
<!-- thymeleaf 版本 -->
<thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
<!-- 布局功能的支持程序 thymeleaf3主程序 layout2以上版本 -->
<thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>

本文档探讨了在使用Thymeleaf 3.0.11时遇到的关于默认视图名称生成的错误提示,指导读者如何通过检查ViewResolvers设置来修复问题,特别关注于版本对应和布局设置的调整。

被折叠的 条评论
为什么被折叠?



