springboot引用thymeleaf时候${}飘红

<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf in action</title></head>
<body>
<div th:replace="~{fragments/header :: header}"></div>
<h3 th:text="${。。。。。}"></h3>
<table border="1">
    <thead>
        <tr>
            <td>ID</td>
            <td>Email</td>
            <td>Name</td>
        </tr>
    </thead>
    <tbody>
      
    </tbody>
</table>
<div th:replace="~{fragments/footer :: footer}"></div>

</body>
</html>


张不胖不丑
浏览 1802回答 2
2回答

zzZerOrz

目测是IDE的问题,应该可以正常解析
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java