问题:
使用连接池出现错误:
程序异常警告:com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@599d116f -- 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: No suitable driver
子异常:Connections could not be acquired from the underlying database!
错误原因:A ResourcePool could not acquire a resource from its primary factory or source.
解决方法:
一般都是配置文件书写错误,我就是这个问题,一定要仔细核对每一个位置是否书写正确,改正即可
教训:
错误看着多,可能就是一个单词拼错了,一个不注意的错误就让你的程序动不起来,哭了......