Cannot find changelog location when running war with Tomcat

Hello, When I am running my war project with Tomcat 9, I have an error with liquibase saying that the changelog location cannot be found at db/changelog/db.changelog-master.yaml while my changelog is at db/changelog/db.changelog-master.xml.
I guess the first path is the default path. I have added to application.properties:
spring.liquibase.change-log=classpath:/db/changelog/db.changelog-master.xml

And it works fine when running the same war in my terminal but it does not find the right location when running it with Tomcat.
Do you know why?

Welcome to the Liquibase Community, ArthurG!

Looking into this, I found that in our documentation, there’s no leading slash on the classpath in the properties file. Try changing that on your end and see if that helps. The documentation is found here: Using Liquibase with Spring Boot.

Regards,
Tabby