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。

Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.Gener_第1张图片
报错信息基本意思是与mysql的连接出问题了,我检查代码后发现是applicationContext配置里的密码大写了。。。

你可能感兴趣的:(Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.Gener)