出现这种错误的原因:
1,驱动配置有误:driver=com.mysql.jdbc.Driver
2,数据库连接地址有误:url=jdbc:mysql://localhost:3306/shenyiguang
3,密码或帐号有误:username=root, password=tiger
4,数据库未启动或无权访问
5,项目未引入对应的驱动jar包mysql-connector-java-5.1.6-bin.jar
A ResourcePool could not acquire a resource from its primary factory or source
最新推荐文章于 2020-05-12 16:04:45 发布