程序异常警告
警告: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@8b3bdd -- 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.lang.NullPointerException
子异常:
java.sql.SQLException: Connections could not be acquired from the underlying database!
提示的错误原因
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
这个错误就是因为没有写配置文件。。。