码迷,mamicode.com
首页 > 数据库 > 详细

java数据库执行迁移报错Error creating bean with name 'flywayInitializer' defined in class path resource

时间:2019-12-14 13:39:17      阅读:460      评论:0      收藏:0      [点我收藏+]

标签:ati   cursor   res   oca   validate   nested   core   scn   mis   

报错原因

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.1
-> Applied to database : 191603428
-> Resolved locally    : -975490752

解决方案:

数据库中字段值改成: Resolved locally    : -975490752

技术图片

来源:站长

java数据库执行迁移报错Error creating bean with name 'flywayInitializer' defined in class path resource

标签:ati   cursor   res   oca   validate   nested   core   scn   mis   

原文地址:https://www.cnblogs.com/1994july/p/12038726.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!