有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

线程“vertxjdbcservicegetconnectionthread”中的java vertx jdbc客户端连接异常

求你了,我是vert的新手。x帮助,我创建了一个vertx API,它利用mysql服务器来持久化数据。我不知道我是如何遇到下面的错误的,我发现很难修复:

 - 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) 个答案