【SSM】Method com/mchange/v2/c3p0/impl/NewProxyResultSet.isClosed()Z is abstract

Problem Description:

Method com/mchange/v2/c3p0/impl/NewProxyResultSet.isClosed()Z is abstract] with root cause java.lang.AbstractMethodError: Method com/mchange/v2/c3p0/impl/NewProxyResultSet.isClosed()Z is abstract

problem causes:

The version number of spring is too high, and the version of c3p0 is too low

My spring version number: 5.2.6.RELEASE
c3p0 version number:0.9.1.2

Solution

Change the c3p0 version number to:

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

problem solved

Guess you like

Origin blog.csdn.net/Black_Customer/article/details/107458490