shiro框架,自定義realm注入service失敗解決辦法

最近在學習使用shiro框架,按照網上的方法照葫蘆畫瓢去配置,結果出現了問題. 其中最爲嚴重的就是 自定義的realm在引用service時,自動注入失敗. 報錯如下: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shiroFilter' defined in Ser
相關文章
相關標籤/搜索