idea pom文件引入该坐标,可以在html界面进行提示,但是标签没有效果
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity4</artifactId>
<version>3.0.4.RELEASE</version>
</dependency>
idea pom文件引入该坐标,在html界面不能提示,但是标签有效果
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
<version>3.0.4.RELEASE</version>
</dependency>
最后发现在 html导入的一下标签,完美解决提示和效果问题,踩坑两小时,博文三两句!!!
<html xmlns:th="http://www.thymeleaf.org"
xmlns:sec="http://www.thymeleaf.org/extras/spring-security">