org.apache.ibatis.exceptions.PersistenceException

2022-4-2

今天在学习当中遇到以下错误:org.apache.ibatis.exceptions.PersistenceException: ### Error getting a new connection. Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)### Cause: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
在这里插入图片描述
PersistenceException表示持久性异常,关于数据库层的错误。

同时还有:Access denied for user ‘root’@‘localhost’ (using password: YES)

后经过我检查发现是密码写错了。

猜你喜欢

转载自blog.csdn.net/apple_51673523/article/details/123919052