
Shiro报错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.。
解决方法,修改web.xml的filter,将<url-pattern>/</url-pattern>改成<url-pattern>/*</url-pattern>,即:
1 |
<filter> |




近期评论