spring boot+shiro时出现了java.lang.NullPointerException: null ,打印时出现UsernamePasswordToken - null, rememb
先看一下我现在的controller:@RequestMapping("/login")publicStringlogin(Stringname,Stringpassword,Modelmodel){Subjectsubject=SecurityUtils.getSubject();AuthenticationTokentoken1=newUsernamePasswordToken(name,pa