Javaweb出现Struts Problem Report报错
Struts has detected an unhandled exception:
Messages: 1.Access denied for user ‘root’@‘localhost’ (using password: YES)
2.Cannot create PoolableConnectionFactory (Access denied for user ‘root’@‘localhost’ (using password: YES))
3.Cannot open connection
4.Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
解决办法:同时发现web root 有很多红色报错,右键项目打开buildpath ,发现jdk unbanned 重新选择版本,错误解决