Thymeleaf整合Spring Security(sec没有快捷提示)

<!--security-thymeleaf整合包-->
        <dependency>
            <groupId>org.thymeleaf.extras</groupId>
            <artifactId>thymeleaf-extras-springsecurity5</artifactId>
            <version>3.0.4.RELEASE</version>
        </dependency>
引入命名空间:
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">

版权声明:本文为weixin_44518842原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。