1.异常信息
问题所在,因为shiro的realm属于Filter(过滤器),简单说就是初始化realm时,spring还未加载相关业务Bean,那么解决办法就是将springmvc的配置文件加载提前。
2.解决办法
打开web.xml文件 将springmvc.xml配置文件加入到spring加载配置文件列表中
原文地址
http://www.cnblogs.com/chihirotan/p/6420712.html
相关文章:
-
2021-07-09
-
2022-12-23
-
2021-11-07
-
2022-12-23
-
2021-06-09
-
2021-06-18
-
2022-12-23