SpringSecurity4 与 Thymeleaf 整合模块无法显应

Spring官方:

<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity4">

没有显示因为https ! 没错比较坑 去掉s即可


<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">

posted @ 2020-03-11 20:09  九角冰山  阅读(183)  评论(0)    收藏  举报