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

Error occurs during operation of the system:

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

 

Try to use the command:

> mvn flyway:migrate

To merge checksum

 

Guess you like

Origin www.cnblogs.com/huyuchengus/p/10987512.html