在运行系统的时候出现错误:

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: Migration checksum mismatch for migration version 1.0.0.01
-> Applied to database : 1062144176
-> Resolved locally : 1432425380

 

Flyway Validate failed: Migration checksum mismatch for migration version 1.0.0.01 错误_spring

尝试使用命令:

> mvn flyway:migrate

来对校验进行合并