springMvc整合shiro的时候提示shiroFilter创建错误,
警告: Bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.MethodInvokingFactoryBean#1' defined in file [F:\mavenWorkPlace\ssmproject\mmsproject\target\classes\spring\springconfig-shiro.xml]: Cannot resolve reference to bean 'shiroFilter' while setting bean property 'targetObject'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanInitializationException: SecurityManager property must be set.
只报了这个错误,配置文件什么的我检查了好多遍了,没有问题