-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.IncompatibleClassChangeError: Expected static method org.hibernate.cache.internal.DefaultCacheKeysFactory.createEntityKey #115
Comments
same problem here org.hibernate hibernate-core 5.2.16.Final com.github.debop hibernate-redis 2.3.2java.lang.IncompatibleClassChangeError: Expected static method org.hibernate.cache.internal.DefaultCacheKeysFactory.createEntityKey(Ljava/lang/Object;Lorg/hibernate/persister/entity/EntityPersister;Lorg/hibernate/engine/spi/SessionFactoryI
|
how about do it |
I got the same error. Please help. |
The same issue has been resolved in DEVELOPMENT stream. @debop When is the 2.5.0 getting released? |
hibernate-redis 2.4.0 is ok |
hibernate-redis 2.4.0 version can solve this issue |
yes,hibernate-redis 2.4.0 is ok. Maybe you can refer to the following. issueWhen I use the redis-Cache in NonStrictReadWrite mode, It'll throws like:
ReasonAnd I found the reason:
but
so, it should be
How to resolve the problemif you don't want to change the hibernate-redis 2.3.2,you can use HQL's
to
this way, hibernate-redis won't use the method Another better way is change the maven pom hibernate-redis 2.3.2 to hibernate-redis 2.4.0 or higher version.but hibernate-redis 2.4.0 is not published yet, so we can download jar from https://mvnrepository.com/artifact/com.github.debop/hibernate-redis/2.4.0, and install by cmd:
and add pom dependency(check which one you have not put in):
and set the maven install plugin to copy all local jars to
Then it works, even the |
Hello, |
I got this error when reading
The text was updated successfully, but these errors were encountered: