-
Notifications
You must be signed in to change notification settings - Fork 346
Flyway Support #778
Description
Hello,
i tried to get flyway up and running with spring native.
Which is a very important library for us, because it's basically used for every JPA related projected.
So I am wondering, way nobody else already raised an issue.
The problem is, that flyway is not capable of reading the migration scripts:
...
Flyway failed to initialize: none of the following migration scripts locations could be found:
- classpath:db/migration
...
I also tried to have the migration scripts inside the filesystem, at least for a workaround,
but this also did not work
...
caused by: java.lang.NullPointerException: null
at org.flywaydb.core.internal.util.FileCopyUtils.copy(FileCopyUtils.java:124) ~[na:na]
at org.flywaydb.core.internal.util.FileCopyUtils.copyToString(FileCopyUtils.java:84) ~[na:na]
at org.flywaydb.core.internal.license.VersionPrinter.readVersion(VersionPrinter.java:121) ~[na:na]
...
So flyway seems to have some trouble to read files either from the classpath or FS.
Libraries:
- Spring Boot 2.4.4
- Spring Native 0.9.2
- Flyway 7.1.1 (managed by spring boot dependencies)