把pom.xml中的c3p0坐标更新一下就好了 <dependency> <groupId>com.mchange</groupId> <artifactId>c3p0</artifactId> <version>0.9.5.2</version> <type>jar</type> <scope>compile</scope> </dependency>