vert.x icon indicating copy to clipboard operation
vert.x copied to clipboard

Vertx in native image throws error : This java rumtime does not support virtual threads

Open sanIncredible opened this issue 1 year ago • 1 comments

Version

vertx 4.5.8 , graalvm 21.0.3 , native-maven-plugin 0.10.2

Do you have a reproducer?

steps to reproduce:

  1. register verticle as ThreadingModel.VirtualThread
  2. start the application
  3. error thrown

failed to deploy verticle : verticle :: io.vertx.core.impl.NoStackTraceThrowable: This java runtime does not support virtual thread

sanIncredible avatar Jul 08 '24 13:07 sanIncredible

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.

william-aqn avatar Jul 24 '24 18:07 william-aqn

@sanIncredible we do have a classifier image for this "native-image-jar"

vietj avatar Sep 09 '24 13:09 vietj

https://repo1.maven.org/maven2/io/vertx/vertx-core/4.5.10/vertx-core-4.5.10-native-image.jar

vietj avatar Sep 09 '24 13:09 vietj