You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we recently updated from Spring Boot 3.1.x to 3.2.x. In parallel we are using @Audited and have a dependency:
org.hibernate.orm:hibernate-envers
After the update to the new Spring Boot version we see the following error at startup of the application:
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
which seems to be related to the envers dependency. There is also already a thread on Stackoverflow that is discussing this issue: