Class not found Exception: DefaultLogMessageFilter

I am getting the following error:
Caused by: java.lang.ClassNotFoundException: liquibase.logging.core.DefaultLogMessageFilter

When trying to instantiate SpringLiquibase in my Java project.

Here is the start of the stacktrace:

org.springframework.beans.BeanInstantiationException: Failed to instantiate [liquibase.integration.spring.SpringLiquibase]: Factory method 'liquibasePublic' threw exception; nested exception is java.lang.NoClassDefFoundError: liquibase/logging/core/DefaultLogMessageFilter

I am using Liquibase in a separate private library/project where it’s included via a mvn dependency. That code is then used in another project, where this error is being thrown.

Any ideas on why is it trying to use a class that doesn’t exist anymore?