在模板中即使添加了
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"
但是如果没有引入依赖
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity4</artifactId>
</dependency>
仍然会出错
在模板中即使添加了
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"
但是如果没有引入依赖
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity4</artifactId>
</dependency>
仍然会出错
转载于:https://www.cnblogs.com/zezeze/p/9716006.html