I recently started seeing this when runnning tests in a project.
I have one class that tries to verify all of my entities using Equalsverifier.forPackage()
It was working fine until I changed a model class. I'm not sure that this is the cause but thought I'd search around here to see if anyone else had seen this.
I had a couple of enum fields on an entity for which I built a custom jpa converter.
I should mention I'm using Lombok and also excluded a relationship from this same entity due to a recursion problem when loading it through a repository query. (@Tostring.Exclude)
After solving a problem loading data through a repository object, this test began throwing errors. with the above error. I am wondering if I need to ditch the forPackage() strategy and just add toStringVerifier to each individual entity instead.
Just wanted check here first though to see if there might be a simpler fix.