首页上一页 1 下一页尾页 1 条记录 1/1页
java web自学视频教程第20章网络商城问题
发表在JavaWeb图书答疑
2015-12-04
是否精华
是
否
版块置顶:
是
否
java web自学视频教程第20章基于SSH2的网络商城在eclipse中调试运行时出现错误如下:
Struts Problem Report
Struts has detected an unhandled exception:
Messages:
A ResourcePool could not acquire a resource from its primary factory or source.
Connections could not be acquired from the underlying database!
Could not open connection
File: com/mchange/v2/resourcepool/BasicResourcePool.java
WARNING: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@bcda51 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
不知道是什么原因?是否跟数据库有关?数据库连接的配置是在哪个地方进行设置,请协助解决谢谢
Struts Problem Report
Struts has detected an unhandled exception:
Messages:
A ResourcePool could not acquire a resource from its primary factory or source.
Connections could not be acquired from the underlying database!
Could not open connection
File: com/mchange/v2/resourcepool/BasicResourcePool.java
WARNING: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@bcda51 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
不知道是什么原因?是否跟数据库有关?数据库连接的配置是在哪个地方进行设置,请协助解决谢谢