An exception occurred while acquiring a poolable resource. Will retry. 我的是mysql-connector-java-5.1.20.jar加到lib下面就行了。或者在pom中加入配置也行。