Liquibase error in Jmix version '1.5.0'

Hi,

I had migrated my application from jmix’ version ‘1.1.4’ to version ‘1.5.0’ i am getting

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

In old version we had /liquibase/changelog.xml file how to fix db.changelog-master.yaml’. exception


org.springframework.context.support.AbstractApplicationContext 591 : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jmix_Liquibase' defined in class path resource [io/jmix/autoconfigure/data/JmixLiquibaseAutoConfiguration.class]: Invocation of init method failed; nested exception is liquibase.exception.ChangeLogParseException: classpath:/db/changelog/db.changelog-master.yaml does not exist
2023-03-16 14:58:36,398 INFO  [main] com.zaxxer.hikari.HikariDataSource 350 : HikariPool-1 - Shutdown initiated...
2023-03-16 14:58:36,404 INFO  [main] com.zaxxer.hikari.HikariDataSource 352 : HikariPool-1 - Shutdown completed.
2023-03-16 14:58:36,406 INFO  [main] org.apache.juli.logging.DirectJDKLog 173 : Stopping service [Tomcat]
2023-03-16 14:58:36,412 INFO  [main] org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener 136 :

Hi Adnan,

Make sure you have the main.liquibase.change-log property as described in What’s New :: Jmix Documentation.

Normally the automatic migration procedure sets it, but perhaps something goes wrong in your case.

1 Like