SpringBoot2.x的c3p0- 0.9.1.2.jar:0.9.1.2]错误

错误问题

java.lang.AbstractMethodError: Method com/mchange/v2/c3p0/impl/NewProxyPreparedStatement.isClosed()Z is abstract
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.isClosed(NewProxyPreparedStatement.java) ~[c3p0- 
0.9.1.2.jar:0.9.1.2]

把 jar包中的连接池c3p0-0.9.2.1换成c3p0-0.9.5.2版本问题就解决

<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.5.2</version>
</dependency>

原文地址:https://www.cnblogs.com/1-9-9-5/p/11027447.html