Angelina
Angelina

Reputation: 1

Exception for master.yaml while running Liquibase springboot application

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

I am facing similar problem as above, however proposed solution is already there in my configurations.

Exception - Liquibase failed to start because no changelog could be found at 'classpath:/db/changelog/db.changelog-master.yaml

Here is my application.yml file. It already has spring: what else do I need to do to get rid of this error for master.yaml

spring: liquibase: change-log: classpath:liquibase/v2/changelog.yml enabled: true

Upvotes: 0

Views: 1099

Answers (1)

Aditi
Aditi

Reputation: 367

from the above message Exception - Liquibase failed to start because no changelog could be found it looks like liquibase is unable to find the changelog file. I would suggest to add the changelog file oath in the properties file. Check out this doc for more details.

Upvotes: 1

Related Questions