coder-yqj / springboot-shiro

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

nullException #6

Open plxh46 opened 6 years ago

plxh46 commented 6 years ago

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

coder-yqj commented 6 years ago

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

plxh46 commented 6 years ago

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

coder-yqj commented 6 years ago

我这边不报错诶。