Liquibase Hibernate can't generate changelog


I am trying to generate changelogs with Liquibase Hibernate extension for Hibernate6.

I defined this in my “” file:
referenceUrl=hibernate:classic:{my project entity folder}?dialect=org.hibernate.dialect.MySQL5Dialect&hibernate.physical_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy&hibernate.implicit_naming_strategy=org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy

And I have also tried a bunch of other different url combinations, but I always end up encountering the following error: Unexpected error running Liquibase: Cannot find database driver: liquibase.ext.hibernate.database.connection.HibernateDriver

I am using IntelliJ and the hibernate extension and liquibase appear under external libraries properly and are both on the same version.

Does anyone have an idea about this?