[bug] Authentication failed for token submission (认证失败)异常

原因

gitee上下的项目,启动后能访问首页,但登录报错。原因是根据用户名上数据库查密码没有得到结果,中间任何环节有问题都可能导致,我的是因为mapper.xml中的<mapper namespace="...">路径写错了,而且pom中mysql导包版本不对,改过来就好了

参考

https://blog.csdn.net/qq_29410905/article/details/80065381

https://blog.csdn.net/f641385712/article/details/89737791

https://www.cnblogs.com/zhoumingming/p/5401144.html

原文地址:https://www.cnblogs.com/cxc1357/p/14483173.html