Oracle12cDialect missing when upgrading from 6.3.2 to 6.4.0


When I upgraded to 6.4.0 I get this exception that the Oracle12cDialect is missing. I don’t understand, i have set the dialect like:
driver-class-name: oracle.jdbc.OracleDriver
hibernate.dialect org.hibernate.dialect.OracleDialect

Also the database is oracle 19. Nowhere in the project there is something like oracle12c.

What could be the cause?

Maybe some of your dependencies are messing with the dialect.