学习c3p0数据库连接池的时候遇到的bug
java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.
Caused by: com.mchange.v2.resourcepool.TimeoutException: A client timed out while waiting to acquire a resource from com.mchange.v2.resourcepool.BasicResourcePool@50675690 – timeout at awaitAvailable()
解决问题:
发现自己写的代码里面根本就没有这两个jar包。
https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.46.zip



