Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

499
Vistas
How add Flyway dependency and build native image Quarkus java.lang.ClassNotFoundException: org.jboss.vfs.VirtualFileFilter

I'm building an app using quarkus, kotlin and flyway. Everything works fine with the JVM execution, but it fails when we try to build a native image. After some debugging I found that the way Quarkus builds the native image is trying to load some dependencies from Flyway that we are not using like jboss-vfs or the Android SDK.

This is the output from the mvn package -Pnative -Dnative-image.docker-build=true command:

enter image description here

The inner exception message is

java.lang.ClassNotFoundException: org.jboss.vfs.VirtualFileFilter

What's the "right way" to add Flyway as a dependency and being able to compile a native image without adding all the unused/optional dependencies?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Quarkus supports Flyway without issues when executing in JVM mode, so you can use it as always.

Quarkus native applications with Flyway are not supported yet. Some work to support it is in progress here: https://github.com/quarkusio/quarkus/issues/1575

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda