Skip to content

Tolerate Flyway 12's removal of the method for configuring cleanOnValidationError #49038

@mil7

Description

@mil7

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by anothertype: taskA general task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions