请问这个是什么错误,我用的是mysql,在整合hibernate时出现这个错误,我的数据库密码为空
org.springframework.transaction.CannotCreateTransactionException:CouldnotopenHibernat...
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) 展开
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询