出错的原因如下:
解释:securitymanager应该使用的是DefaultWebSecurityManager。
转载于:https://www.cnblogs.com/wozibi/p/11142208.html