C3P0不起作用(org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider)

时间:2018-09-22 17:41:03

标签: java mysql hibernate c3p0

我在执行应用程序时收到此警告:

sep 22, 2018 5:59:36 PM org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator c3p0ProviderPresent 
WARN: HHH000022: c3p0 properties were encountered, but the org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider provider class was not found on the classpath; these properties are going to be ignored.

问题是:我正在使用Hibernate-core-5.2.6.jar(及其所有库),C3p0-0.9.5.2.jar和hibernate-c3p0-5.2.6.Final。

应该可以。 但事实并非如此。 我在做什么错了?

0 个答案:

没有答案