Closed khteh closed 4 years ago
Can you please share a small reproducer? Thank you
Can you please provide instructions to run the project?
Le mer. 1 juil. 2020 à 11:29, Teh Kok How notifications@github.com a écrit :
https://github.com/khteh/RestAPIDocker.Vertx
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vert-x3/issues/issues/533#issuecomment-652306421, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALOLNVLXJS446U7TP2OR7TRZL6YBANCNFSM4OM5EQ4A .
It's in the first post: java --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true -jar target/restapi-1.0-fat.jar
Running mvn test
bumps into the same exception:
java.lang.AssertionError: java.lang.NoClassDefFoundError: io/vertx/core/impl/logging/LoggerFactory
Caused by: java.lang.NoClassDefFoundError: io/vertx/core/impl/logging/LoggerFactory
Caused by: java.lang.ClassNotFoundException: io.vertx.core.impl.logging.LoggerFactory
You have set the vertx-jdbc-client
version to 4.0.0-milestone5
in your POM, whereas the rest of the Vert.x modules (in particular vertx-core
) are set version 3.9.1
.
These versions are incompatible. Change the vertx-jdbc-client version to 3.9.1
and the issue will go away.
I am using Vert.x 3.9.1 and when I run
java --add-opens java.base/jdk.internal.misc=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true -jar target/restapi-1.0-fat.jar
, it fails to deploy the verticle with the following error: