Flyway 10.0.0 has removed the following methods from FluentConfiguration
licenseKey undoSqlMigrationPrefix cherryPick
Comment From: wilkinsona
Thanks for the report.
The fix for this is low-risk and straightforward (it's just a matter of replacing some method references with lambdas) so it's tempting to apply it in 3.0.x or possibly even 2.7.x and later. We'll discuss it as a team.
Comment From: wilsonrf
Do you have plans to apply this fix also for spring-boot 3.0.X and 3.1.X? Thank you in advance.
Comment From: wilkinsona
Those fixes are already in place (https://github.com/spring-projects/spring-boot/issues/38266, https://github.com/spring-projects/spring-boot/issues/38267) and will be released shortly.
Comment From: wilsonrf
Thank you @wilkinsona
Comment From: gsant07
@wilkinsona Is this fix released yet ? I am upgrading springboot from 2.7.x to 3.0.0 and flyway from 7.15.0 to 9.22.3 with java from 11 to 17 and get this error only when starting the application .The build is successful and I was using mysql db 5.7 version before. Should i upgrade the DB as well to solve the issue or any issues with springboot properties ?
_The following method did not exist:
'org.flywaydb.core.api.configuration.FluentConfiguration org.flywaydb.core.api.configuration.FluentConfiguration.placeholderSeparator(java.lang.String)'
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
@gsant07 please don't duplicate comments across issues. It's a waste of everyone's time.