coder-yqj / springboot-shiro

使用SpringBoot与shiro实现基于数据库的细粒度动态权限管理系统实例

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nullException

plxh46 opened this issue · comments

你用的编译器是idea嘛,idea好像在动态权限管理查询哪里,会报空指针异常吧。注入不进去

编译器报错没关系,启动正常吗? @plxh46

启动就会报空指针。你们不报嘛,就是启动加载shiroConfig时,@Autowired(required = false)
private ResourcesService resourcesService; 注入为null

我这边不报错诶。