SpringBoot不自动加载Shiro配置 (No bean of type ‘org.apache.shiro.realm.Realm‘ found)

如果是搭建微服务的项目的话,一定要注意 

SystemApplication 的文件层次 和 bean 的文件层次一致

如果不一致,bean也是无法被扫描到的

SpringBoot的默认包扫描路径_小志的博客的博客-CSDN博客_springboot默认扫描包路径

 同样的原因

 

 自建微服务模块无法启动,报No bean of type 'org.apache.shiro.realm.Realm' found. · Issue #I3NMK9 · JEECG/jeecg-boot - Gitee.com

猜你喜欢

转载自blog.csdn.net/xss12322/article/details/128728056