Maven 在 pom.xml 文件中配置 repositories 仓库

2019-06-11 19:18:02 浏览数 (1)

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

代码语言:javascript复制
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

尝试使用命令:

代码语言:javascript复制
> mvn flyway:migrate

来对校验进行合并

(adsbygoogle = window.adsbygoogle || []).push({});

0 人点赞