Error when generateChangeLog task when using liquibase with mongodb

Caused by: liquibase.command.CommandExecutionException: java.lang.ClassCastException: class liquibase.ext.mongodb.database.MongoConnection cannot be cast to class liquibase.database.jvm.JdbcConnection (liquibase.ext.mongodb.database.MongoConnection and liquibase.database.jvm.JdbcConnection are in unnamed module of loader ‘app’)

does any one have faced this error and know a solution?


Generatechangelog using the liquibase-mongodb extension is not supported.
This is an issue reported about same subject : generateChangeLog feature not working · Issue #119 · liquibase/liquibase-mongodb · GitHub