Error creating bean with name 'shiroFilter' defined in class path resource [
时间: 2023-10-01 18:04:45 浏览: 205
根据提供的引用内容,错误日志显示了一个名为'shiroFilter'的bean在创建过程中出现了问题。问题发生在设置'securityManager'属性时,无法解析对'securityManager'的引用。具体的错误信息是:找不到类型为的合适的bean来满足对'userService'的自动装配依赖。
综上所述,你可以通过添加注解驱动和包扫描配置,并确保正确的加载顺序来解决'shiroFilter'bean的创建问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [SpringMVC整合Shiro之 Error creating bean with name 'shiroFilter' defined in class path resource...](https://blog.csdn.net/zt_fucker/article/details/77679120)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文