I am having trouble getting my changelog to be compiled, due to Liquibase not being able to load the correct Serializer. Anyone know what the issue could be? Here is my config:
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>${liquibase.version}</version>
<configuration>
<changeLogFile>${project.basedir}/src/main/resources/config/liquibase/master.xml</changeLogFile>
<diffChangeLogFile>${project.basedir}/src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
<driver>org.h2.Driver</driver>
<url>jdbc:h2:file:${project.build.directory}/h2db/db/my_project</url>
<defaultSchemaName></defaultSchemaName>
<username>my_project</username>
<password></password>
<referenceUrl>hibernate:spring:com.my.comp?dialect=org.hibernate.dialect.H2Dialect&hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy</referenceUrl>
<verbose>true</verbose>
<logging>debug</logging>
<contexts>!test</contexts>
<diffExcludeObjects>oauth_access_token, oauth_approvals, oauth_client_details, oauth_client_token, oauth_code, oauth_refresh_token</diffExcludeObjects>
</configuration>
Error Message:
[INFO] Cannot load service: liquibase.serializer.ChangeLogSerializer: Provider liquibase.serializer.core.xml.XMLChangeLogSerializer could not be instantiated [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16.947 s [INFO] Finished at: 2021-09-25T11:57:46+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:4.3.5:diff (default-cli) on project notionmeet: [ERROR] Error setting up or running Liquibase: [ERROR] liquibase.command.CommandExecutionException: java.lang.RuntimeException: No serializers associated with the filename or extension '/home/projects/project/src/main/resources/config/liquibase/changelog/20210925095729_changelog.xml'