java.lang.ClassNotFoundException: jdbc.driver at java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.8.0_201] at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_201] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[na:1.8.0_201] at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.8.0_201] at java.lang.Class.forName0(Native Method) ~[na:1.8.0_201] at java.lang.Class.forName(Unknown Source) ~[na:1.8.0_201] at com.mchange.v2.c3p0.DriverManagerDataSource.ensureDriverLoaded(DriverManagerDataSource.java:143) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:173) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870) [c3p0-0.9.5.2.jar:0.9.5.2] at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696) [mchange-commons-java-0.2.11.jar:0.2.11]2019-03-31 17:01:46.250 WARN 2964 --- [HelperThread-#0] c.m.v2.c3p0.DriverManagerDataSource : Could not load driverClass jdbc.driver
添加回答
举报
0/150
提交
取消