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

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

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

 

尝试使用命令:

> mvn flyway:migrate

来对校验进行合并

 

posted @ 2019-06-07 03:19  huyuchengus  阅读(3356)  评论(0编辑  收藏  举报