java.lang.ClassCircularityError after upgrading to 6.2.0.Final

Description

Hello,

 

Our entities are enhanced at compile-time through the maven plugin. When the application is deployed, we get the following error:

The only thing we changed was the version of Hibernate (from 6.1.7 which worked fine to 6.2.0).

Also, we denoted a strange behavior of the enhancer, because after enhancement, the entities field became public which is unattended.

Our entities are very basic (only private annotated fields an public getters/setters), there are only some inheritance of generic fields:

 

And the superclass:

Thanks for the help !

Activity

Show:

Cédric Tabin March 31, 2023 at 10:06 AM

Note that we also tried to disable completely the bytecode enhancer during the compilation, the same error happen during the deployment.

Duplicate

Details

Assignee

Reporter

Worked in

Components

Affects versions

Priority

Created March 31, 2023 at 10:03 AM
Updated March 31, 2023 at 11:51 AM
Resolved March 31, 2023 at 11:51 AM