Circular view path [myThymeleaf]: would dispatch back to the current handler URL [/myThymeleaf] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)
请求页面, 和 返回转发页面一致, 出现了这种错误, 说什么视图解析器一致搞不懂,
说明:我用的版本boot是2.3.9.RELEASE
解决 办法:
把 thymeleaf 的版本修改成3.0.11.RELEASE 。
布局功能的支持程序, thymeleaf3 主程序需要layout2以上版本。
这是 thymeleaf 在 application.yml 的 配置
工程文件 myThymeleaf.html 不要配置错误了。
吐槽: 关键是, 我后面删除了thymeleaf 的属性配置, 我发现也好了, 不知道怎么回事,giao.