Hi there,
with Flyway's update to v12 cleanOnValidationError configuration has now finally been removed.
Unfortunately in Spring Boot v3.5.10 the FlywayAutoConfiguration warns that the configuration is deprecated but still depends on code that does not exist anymore in Flyway v12. The result is a breaking NoSuchMethodError.
I know EOL of Spring Boot v3.5 is pretty close but
- the fix should be simple enough
- maybe Spring Boot v4 has trouble with the same issue
I dug out the discussion from January 2025 which concluded in the deprecation's documentation.
#43890 <= #43770