SpringBoot项目Circular view path报错

xiaoxiao2021-02-28  45

就是缺少了依赖,添加以下依赖

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>

还是不行,那可能就是html没有引号thymeleaf头部

<!DOCTYPE html> <html xmlns:th="http://www.thymeleaf.org" > <head> <head> <title>Good Thymes Virtual Grocery</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <p th:text="${title}"></p> </body> </html>
转载请注明原文地址: https://www.6miu.com/read-2625940.html

最新回复(0)