ssh,我现在有两个项目,b项目是依靠a项目做的,现在需要在b项目中做一个和a项目一样的后台,可是我把代码都复制过来,数据库也完全一样,可是b项目运行就一直显示找不到用户信息,可是在a项目下运行就可以,用户名字和密码都是一样的,数据库也是一样,可是b项目就是无法获取用户信息,登录不进去,有大神指点一下吗?
这是唯一看到的错误信息:
07-24 17:17:21.431 [http-apr-8882-exec-2] WARN (ExceptionResolver.java:114) - Handle request [http://localhost:8882/admin/login.do] occur Shiro authority error : Realm [com.qh.health.service.security.UserRealm@6904d13e] was unable to find account data for the submitted AuthenticationToken [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false].