vert.x
vert.x copied to clipboard
Vertx in native image throws error : This java rumtime does not support virtual threads
Version
vertx 4.5.8 , graalvm 21.0.3 , native-maven-plugin 0.10.2
Do you have a reproducer?
steps to reproduce:
- register verticle as ThreadingModel.VirtualThread
- start the application
- error thrown
failed to deploy verticle : verticle :: io.vertx.core.impl.NoStackTraceThrowable: This java runtime does not support virtual thread
me2 This Java runtime does not support virtual threads io.vertx.core.impl.NoStackTraceThrowable: This Java runtime does not support virtual threads
FAILURE: Build failed with an exception.
@sanIncredible we do have a classifier image for this "native-image-jar"
https://repo1.maven.org/maven2/io/vertx/vertx-core/4.5.10/vertx-core-4.5.10-native-image.jar