项目启动报错: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘flywayInitializer’ defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Validate failed: Detected failed migration to version 1.0 (xxx yyy zzz)
找到该项目数据库中flyway_schema_history表,没有就新建一个,有就清空表中所有信息
然后项目正常启动