vertx jdbc客户端连接线程中的异常" vertx-jdbc-service-get-connection-thread"

时间:2016-05-19 20:06:43

标签: java

请问我是vert.x帮助的新手,我创建了一个利用mysql服务器来保存数据的vertx API。我不知道我是如何遇到以下错误的,我发现这很难修复:

 - MLog clients using log4j logging.
 - Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
Deployed: server.Server
 - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge2jo9g1k7ofepv0cdzu|1a2e3314, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge2jo9g1k7ofepv0cdzu|1a2e3314, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/isec_play?user=root&password=root, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]




Exception in thread "vertx-jdbc-service-get-connection-thread" java.lang.NoSuchMethodError: io.vertx.core.impl.VertxInternal.createWorkerContext(ZLjava/lang/String;Lio/vertx/core/json/JsonObject;Ljava/lang/ClassLoader;)Lio/vertx/core/impl/ContextImpl;
        at io.vertx.ext.jdbc.impl.JDBCConnectionImpl.<init>(JDBCConnectionImpl.java:55)
        at io.vertx.ext.jdbc.impl.JDBCClientImpl.lambda$getConnection$3(JDBCClientImpl.java:100)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

0 个答案:

没有答案