报告未解析的引用和无效的 Thymeleaf 表达式。

示例:


<html xmlns:th="https://www.thymeleaf.org">
<body>
  <form th:object="${unknownPet}"  <!-- Cannot resolve 'unknownPet'  -->
        class="form-horizontal" method="post">
    <input type="hidden" name="id" th:value="*{id}" /> <!-- 无法解析 'id'  -->
  </form>
</body>
</html>