I recently upgraded my application to:
Spring Boot 4.0.1 (Maven)
Java 25
Flyway 11.14.1
After the upgrade, I noticed that Flyway migrations are no longer executed when running the application locally.
What I’ve observed so far:
No migration scripts are executed on startup
No Flyway logs appear at all, even after setting:
logging.level.org.flywaydb=DEBUGHibernate auto-DDL is disabled to avoid conflicts:
spring.jpa.hibernate.ddl-auto=noneThe application starts normally, but Flyway seems to be completely skipped
No errors or warnings related to Flyway are shown in the logs
Before the upgrade, migrations were running correctly with the same migration scripts and configuration.
Has anyone encountered a similar issue after upgrading to Spring Boot 4.x / Java 25 / Flyway 11.x?
Are there any known changes or additional configuration required to make Flyway run automatically in this setup?
Any guidance or debugging tips would be appreciated.