Spring boot (the newest version 2.7.) supports flyway-core only up to version 7.x
If yo try to use newer flyway-core version, let's say 9.1.2, as they show in the example on their site
https://flywaydb.org/documentation/usage/plugins/springboot
your app wont start.