Shiro报错No SecurityManager accessible
1、首先,我在web.xml里是配置了shiroFilter的,而且内容无误,如下图。

3、就报了下面的错误:org.apache.shiro.Unavaila水瑞侮瑜bleSecurityManagerException: 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.

5、于是,找啊找,找了好几个小时,终于在另一篇文章中看到了,原来是shiroFilter应该放在strutsFilter的前面。
