org.apache.shiro.UnavailableSecurityManagerException:
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.
在进行ssh整合shiro开发的时候. 偶然间遇到这个异常.
在尝试了很多次后. 发现问题的根本原因是 "配置web.xml 时候没有将shiro的filter配置放到Struts2的filter的上面"
希望能帮到你!