Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App fails to start with a NoSuchMethodError when using Flyway 10.0.0 #38164

Closed
aspan opened this issue Nov 1, 2023 · 6 comments
Closed

App fails to start with a NoSuchMethodError when using Flyway 10.0.0 #38164

aspan opened this issue Nov 1, 2023 · 6 comments
Labels
type: bug A general bug
Milestone

Comments

@aspan
Copy link

aspan commented Nov 1, 2023

Flyway 10.0.0 has removed the following methods from FluentConfiguration

licenseKey
undoSqlMigrationPrefix
cherryPick

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 1, 2023
@wilkinsona wilkinsona added the for: team-meeting An issue we'd like to discuss as a team to make progress label Nov 1, 2023
@wilkinsona
Copy link
Member

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.

@philwebb philwebb added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged for: team-meeting An issue we'd like to discuss as a team to make progress labels Nov 2, 2023
@philwebb philwebb added this to the 2.7.x milestone Nov 2, 2023
@wilkinsona wilkinsona changed the title Compatibility with flyway 10.0.0 App fails to start with a NoSuchMethodError when using Flyway 10.0.0 Nov 8, 2023
@wilkinsona wilkinsona modified the milestones: 2.7.x, 2.7.18 Nov 8, 2023
@wilsonrf
Copy link

Do you have plans to apply this fix also for spring-boot 3.0.X and 3.1.X?
Thank you in advance.

@wilkinsona
Copy link
Member

Those fixes are already in place (#38266, #38267) and will be released shortly.

@wilsonrf
Copy link

Thank you @wilkinsona

@gsant07

This comment was marked as duplicate.

@wilkinsona

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

6 participants