zl程序教程

您现在的位置是:首页 >  工具

当前栏目

IntelliJ IDEA 使用Thymeleaf没提示(解决方法)

IDEA方法 使用 解决 提示 Intellij thymeleaf
2023-06-13 09:16:06 时间

我在页面中使用Thymeleaf的时候发现爆红或者不提示语法,如下就是解决方法

在页面添加或者修改 如下命名空间

<html lang="en" xmlns:th="http://www.thymeleaf.org">

添加之后,idea 就有提示了