spring boot thymeleaf错误之Circular view path [...]

来源:互联网 发布:信息比率 知乎 编辑:程序博客网 时间:2024/06/08 17:05

lz照着视频,然后又找了许许多多的材料,总是出现这个Circular view path[…]的错误。明明很简单的几步(泪流满面),让我花了大半天,但是成功的那一刻,真的好爽啊

错误:Circular view path[url]

解决:更换spring-boot-starter-parent版本

对,就这么简单,lz是由1.5.7换成了1.2.5

<parent>        <groupId>org.springframework.boot</groupId>        <artifactId>spring-boot-starter-parent</artifactId>        <!-- <version>1.5.7.RELEASE</version> -->        <version>1.2.5.RELEASE</version>    </parent>

继续踩坑中。。。。。。


补充:
方法二:使用更新的thymeleaf

<properties>        <thymeleaf.version>3.0.2.RELEASE</thymeleaf.version>        <thymeleaf-layout-dialect.version>2.1.1</thymeleaf-layout-dialect.version>    </properties>
原创粉丝点击