新手学习springboot遇到一个thymeleaf问题。
出错信息: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.)
我自己搜索的结果:可能是因为view和path同名导致的问题,我尝试改过controller里面的(“/success”),但是问题并没有解决。
这是我的controller代码:
这是我的html代码:
这是我的pom里面的主要的依赖: