问题描述 thymeleaf模板引擎的th属性在HTML页面中爆红。 解决方案: 在HTML文件的头部进行声明。 <html lang="en" xmlns:th="http://www.thymeleaf.org">