No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.配置文件找不到shiro安全配置
摘要:
首先查询web.xml是否配置shiroFilter的拦截,如果配置了,查看shiroFilter与struts2拦截的顺序,是否是struts2在前面 struts2的拦截器不能用在shiroFilter拦截器的前面,如果实在前面的时候就拦截不到,需要将shiroFilter放到前面就可以了. 阅读全文
posted @ 2017-10-09 09:18 JokerMasks 阅读(3468) 评论(0) 推荐(0)
浙公网安备 33010602011771号