Forward port of issue #38164 to 3.0.x.

Comment From: gsant07

Is this fix release yet ? I am upgrading springboot from 2.7.x to 3.0.0 and flyway to 9.22.3 with java 17 and get this error

Action:

Correct the classpath of your application so that it contains compatible versions of the classes org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration$FlywayConfiguration and org.flywaydb.core.api.configuration.FluentConfiguration

Comment From: wilkinsona

This fix was released in Spring Boot 3.0.13 for compatibility with Flyway 10.0.0. If you're using Spring Boot 3.0.0 and Flyway 9.22.3 it is not relevant to your problem.

Please follow up on Stack Overflow, providing a minimal example that reproduces the problem you're facing.