We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I got the same error when migrating my app from spring-boot 3.1.5 to 3.2.0 and found this example. The error is logged here too:
2024-01-03T19:09:17.359+01:00 ERROR 1451 --- [ main] o.h.metamodel.internal.MetadataContext : HHH015007: Illegal argument on static metamodel field injection : org.hibernate.envers.DefaultRevisionEntity_#class_; expected type : org.hibernate.metamodel.model.domain.internal.EntityTypeImpl; encountered type : jakarta.persistence.metamodel.MappedSuperclassType
See also my SO question: https://stackoverflow.com/questions/77753483/hibernate-envers-6-4-1-illegal-argument-on-static-metamodel-field-injection
The text was updated successfully, but these errors were encountered:
Same problem in Spring Boot 3.2.4 with Hibernate (+Envers) 6.4.4 Final:
2024-03-28 12:27:39.431 ERROR 75864 --- [ main] o.h.metamodel.internal.MetadataContext : HHH015007: Illegal argument on static metamodel field injection : org.hibernate.envers.DefaultRevisionEntity_#class_; expected type : org.hibernate.metamodel.model.domain.internal.EntityTypeImpl; encountered type : jakarta.persistence.metamodel.MappedSuperclassType
Sorry, something went wrong.
This is a Hibernate problem, see spring-projects/spring-data-jpa#3381.
mp911de
No branches or pull requests
I got the same error when migrating my app from spring-boot 3.1.5 to 3.2.0 and found this example. The error is logged here too:
2024-01-03T19:09:17.359+01:00 ERROR 1451 --- [ main] o.h.metamodel.internal.MetadataContext : HHH015007: Illegal argument on static metamodel field injection : org.hibernate.envers.DefaultRevisionEntity_#class_; expected type : org.hibernate.metamodel.model.domain.internal.EntityTypeImpl; encountered type : jakarta.persistence.metamodel.MappedSuperclassType
See also my SO question: https://stackoverflow.com/questions/77753483/hibernate-envers-6-4-1-illegal-argument-on-static-metamodel-field-injection
The text was updated successfully, but these errors were encountered: