出错的原因如下:
解释:securitymanager应该使用的是DefaultWebSecurityManager。
shiro配置异常-org.springframework.beans.factory.BeanInitializationException: The security manager does not implement the WebSecurityManager interface.
原文:https://www.cnblogs.com/wozibi/p/11142208.html