junit+springMVC单元测试异常:org.apache.shiro.UnavailableSecurityManagerException
使用Mock模拟请求到控制器中抛出如下异常:org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm stat
原创
2017-09-08 12:05:03 ·
2632 阅读 ·
0 评论