Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.Gener

今天整合ssh 项目遇到的错误:
ERROR SqlExceptionHelper Cannot create PoolableConnectionFactory (Access denied for user ‘root’@‘localhost’ (using password: YES))。

org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection。

在这里插入图片描述
报错信息基本意思是与mysql的连接出问题了,我检查代码后发现是applicationContext配置里的密码大写了。。。

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页