【问题标题】:Exception for master.yaml while running Liquibase springboot application运行 Liquibase springboot 应用程序时 master.yaml 异常
【发布时间】:2021-08-28 02:50:21
【问题描述】:

参考 - LiquiBase problem , class path resource [db/changelog/db.changelog-master.yaml] cannot be resolved to URL because it does not exist

我面临与上述类似的问题,但是建议的解决方案已经存在于我的配置中。

例外 - Liquibase 无法启动,因为在 'classpath:/db/changelog/db.changelog-master.yaml

中找不到任何更改日志

这是我的 application.yml 文件。它已经有了春天:我还需要做什么才能摆脱 master.yaml 的这个错误

弹簧: 液基: 更改日志:类路径:liquibase/v2/changelog.yml 启用:真

【问题讨论】:

  • 看看这篇文章here。可能会有所帮助。

标签: java spring spring-boot liquibase liquibase-sql


【解决方案1】:

从上面的消息Exception - Liquibase failed to start because no changelog could be found 看来,liquibase 无法找到更改日志文件。我建议在属性文件中添加更改日志文件 oath。查看this doc了解更多详情。

【讨论】:

    猜你喜欢
    • 2022-01-22
    • 2020-01-21
    • 2018-06-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-06-29
    • 2017-10-20
    相关资源
    最近更新 更多