springboot-shiro icon indicating copy to clipboard operation
springboot-shiro copied to clipboard

nullException

Open plxh46 opened this issue 7 years ago • 3 comments

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

plxh46 avatar Jun 01 '18 01:06 plxh46

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

coder-yqj avatar Jun 01 '18 02:06 coder-yqj

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

plxh46 avatar Jun 01 '18 02:06 plxh46

我这边不报错诶。

coder-yqj avatar Jun 04 '18 01:06 coder-yqj