[INFO] SEVERE: Failed in deploying verticle
[INFO] java.lang.IllegalAccessError: tried to access method io.vertx.core.http.impl.HttpClientImpl.getVertx()Lio/vertx/core/impl/VertxInternal; from class io.vertx.ext.web.client.impl.WebClientBase
[INFO] at io.vertx.ext.web.client.impl.WebClientBase.createContext(WebClientBase.java:288)
[INFO] at io.vertx.ext.web.client.impl.HttpRequestImpl.send(HttpRequestImpl.java:330)
[INFO] at io.vertx.ext.web.client.impl.HttpRequestImpl.sendJsonObject(HttpRequestImpl.java:311)
[INFO] at ooxaam.io.justgifit.vertx.MyFirstVerticle.start(MyFirstVerticle.java:35)
[INFO] at io.vertx.core.impl.DeploymentManager.lambda$doDeploy$10(DeploymentManager.java:481)
[INFO] at io.vertx.core.impl.ContextImpl.lambda$wrapTask$2(ContextImpl.java:344)
[INFO] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
[INFO] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403)
[INFO] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463)
[INFO] at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
[INFO] at java.lang.Thread.run(Thread.java:745)
I have a graphlQL client in Hasura (running on docker instance), which I want to access from vertex.
As per given example, following is my code:
But I'm getting following exception: