shiro报错No SecurityManager accessible to the calling code, either bound to the org.apache.shiro
NoSecurityManageraccessibletothecallingcode,eitherboundtotheorg.apache.shiro.util.ThreadContextorasavmstaticsingleton.Thisisaninvalidapplicationconfiguration1