ChangeLogParseException with Spring Boot

Description

ChangelogParseException during Spring Boot application startup:

I don't have db/changelog/db.changelog-master.yaml, instead I have db/changelog/db.changelog-master.xml file, but Spring Boot wants to parse yaml file exactly.
Seems like the problem is with Spring Boot autoconfiguration LiquibaseProperties class (https://github.com/spring-projects/spring-boot/blob/master/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/liquibase/LiquibaseProperties.java), namely, line #39:

Hence, Spring Boot autoconfiguration relies on yaml file and format, unlike that I have liquibase.changelog configuration property set to xml in my application-dev.yaml file:

Please, help. I'll try to cross-post this bug in Spring Boot also.
Thank you.

Environment

Spring version 5.1.9.RELEASE
Spring Boot version 2.1.7.RELEASE
Liquibase version 3.7.0

Activity

Show:

Дмитрий Скотников January 30, 2020 at 11:11 PM
Edited

Try using spring.liquibase.change-log property (not just liquibase.change-log), worked for me when I face same problem

Reporter

Components

Affects versions

Priority

Created August 11, 2019 at 9:24 AM
Updated January 30, 2020 at 11:12 PM