close

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

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error LiquiBase problem , class path resource [db/changelog/db.changelog-master.yaml] cannot be resolved to URL because it does not exist in java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

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

Today I get the following error LiquiBase problem , class path resource [db/changelog/db.changelog-master.yaml] cannot be resolved to URL because it does not exist in java.

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

  1. How To Solve LiquiBase problem , class path resource [db/changelog/db.changelog-master.yaml] cannot be resolved to URL because it does not exist Error ?

    To Solve LiquiBase problem , class path resource [db/changelog/db.changelog-master.yaml] cannot be resolved to URL because it does not exist Error I also faced same issue. Replaced @ContextConfiguration in Test class with @SpringBootTest and it worked. Not sure why it worked.

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

    To Solve LiquiBase problem , class path resource [db/changelog/db.changelog-master.yaml] cannot be resolved to URL because it does not exist Error I also faced same issue. Replaced @ContextConfiguration in Test class with @SpringBootTest and it worked. Not sure why it worked.

Solution 1

Try using the spring.liquibase.change-log property (and not just liquibase.change-log). This worked for me when I faced the same problem.

This solution is also mentioned in issue CORE-3459 in the Jira tracker.

Solution 2

I also faced same issue. Replaced @ContextConfiguration in Test class with @SpringBootTest and it worked. Not sure why it worked.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment