You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the spring boot startup I get the following error
Parameter 0 of constructor in com.aaa.SpringBootApp$FlywayCommand$MigrateCommand required a bean of type 'org.flywaydb.core.Flyway' that could not be found.
@Component
@Command(name = "migrate")
static class MigrateCommand implements Runnable {
private final Flyway flyway;
public MigrateCommand(Flyway flyway) {
this.flyway = flyway;
}
Am I mssing something in terms of config?
The text was updated successfully, but these errors were encountered:
On the spring boot startup I get the following error
Parameter 0 of constructor in com.aaa.SpringBootApp$FlywayCommand$MigrateCommand required a bean of type 'org.flywaydb.core.Flyway' that could not be found.
Am I mssing something in terms of config?
The text was updated successfully, but these errors were encountered: