前端页面使用shiro标签不起作用 问题 在后端将shiro等相关代码写完并测试成功后,在整合springboot过程中,前端使用shiro标签不起作用。 解决办法 需要在ShiroConfig类中加上以下代码 //用来整合shiro thymeleaf时,不加这个前端使用shiro标签不会生效 @Bean public ShiroDialect getShiroDialect(){ return new ShiroDialect(); }