我在idea的项目中引入thymeleaf模板时,已经在pom.xml中引入了依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
也在setting中确认了thymeleaf是打了√的
但是在html文件中引入thymeleaf的命名空间时却是灰色的,也无法用thymeleaf的语法
浏览器显示如下
请问这是什么原因导致的呢?