ifast icon indicating copy to clipboard operation
ifast copied to clipboard

thymeleaf 给head添加参数调用报错<head th:fragment="common_head(title,metas,links)">

Open Ucaen opened this issue 3 years ago • 0 comments

给公共模板增加参数:

,然后页面中采用 机器人XX页面 方式,目的是添加当前页面和公共页面head中的所有标签。结果访问页面的时候报了404!后台报错如下: org.thymeleaf.exceptions.TemplateProcessingException: Could not parse as fragment selection: "common :: common_head(~{:: title},~{},~{:: link})" (robot/robot)

Ucaen avatar Sep 23 '20 08:09 Ucaen