控制台报错:
Authentication failed for token submission [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false].
Possible unexpected error? (Typical or expected login exceptions should extend from AuthenticationException).
在applicationContext.xml中忘记配置组件扫描了!遇到这个报错,就一定说明Shiro在认证时你从数据库中获取的用户记录出错了。控制台报错:
Authentication failed for token submissi