JDBCClient.createShared(vertx, dbConfig, foo)
Unhandled exception
java.lang.NoSuchMethodError: io.vertx.core.spi.metrics.VertxMetrics.createMetrics(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;I)Lio/vertx/core/spi/metrics/PoolMetrics;
at io.vertx.ext.jdbc.impl.JDBCClientImpl$DataSourceHolder.ds(JDBCClientImpl.java:188)
at io.vertx.ext.jdbc.impl.JDBCClientImpl.<init>(JDBCClientImpl.java:77)
at io.vertx.ext.jdbc.JDBCClient.createShared(JDBCClient.java:72)
at de.fraunhofer.fokus.adep.BatchMgmtVerticle.lambda$4(BatchMgmtVerticle.java:108)
at de.fraunhofer.fokus.adep.ConfigHelper.validateDBConfig(ConfigHelper.java:115)
at de.fraunhofer.fokus.adep.BatchMgmtVerticle.lambda$1(BatchMgmtVerticle.java:98)
at io.vertx.core.impl.FutureImpl.checkCallHandler(FutureImpl.java:158)
at io.vertx.core.impl.FutureImpl.setHandler(FutureImpl.java:100)
at io.vertx.core.impl.ContextImpl.lambda$null$16(ContextImpl.java:305)
at io.vertx.core.impl.ContextImpl.lambda$wrapTask$18(ContextImpl.java:335)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)
dbConfig = {
"driver_class": "org.postgresql.Driver",
"password": "baz",
"table": "person",
"url": "jdbc:postgresql://localhost:5432/bla",
"user": "foo",
"max_pool_size" : 100,
"min_pool_size" : 10
}
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/900b70a3-f6da-4d28-9f72-1dbc879c587b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
mvnclean install