Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

494
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda