shiro报错No SecurityManager accessible to the calling code, either bound to the org.apache.shiro
报了这么一个错,排查半天,终于找到解决方法,具体报错如下图NoSecurityManageraccessibletothecallingcode,eitherboundtotheorg.apache.shiro.util.ThreadContextorasavmstaticsingleton.Thisisaninvalidapplicationconfiguration1