Circular view path [success]: would dispatch back to the current handler URL [/success] again
刚学springboot 在整合 thymeleaf 模板时出错,
spring-boot-starter-thymeleaf默认使用 Thymeleaf 2.1,而当前SpringBoot版本不支持该版本的Thymeleaf,手动修改为Thymeleaf 3.0.11的版本 。
解决办法: 在项目 pom文件中 更改thymeleaf版本
<thymeleaf.version>3.0.11.RELEASE</thymeleaf.version> <thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>