Reputation: 11
I'm working on a project that uses spring-boot, Maven, liquibase. So, I'm getting an error when I run my project and the liquibase configuration is set up to update when maven is executing.
Caused by: java.lang.IllegalStateException: Cannot find changelog location: class path resource [db-scripts/db.master.xml] (please add changelog or check your Liquibase configuration)
I saw that pom.xml have a tag excludes with my DB script's path. I believe that maven is erasing that path before the liquibase run.
Upvotes: 1
Views: 247
Reputation: 3169
Liquibase uses from changelog files. You had to add the file.
Upvotes: 1