Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

492
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!