Turn off "error" about the lack of a no-arg constructor in Eclipse

I use open-jpa, and as we know, it comes with an enhancer that can create a non-closed no-arg constructor during enhancement. It works, however the eclipse has problems with it. It is quite reasonable that he does not know anything about what will happen during the ant build, so is there any way to disable this specific error? The Java class for mapped type ... must define a non-private zero-argument constructor limited by @ annotation Entity?

+6
source share
1 answer

This works for me (Eclipse Mars.1 Release 4.5.1)

 Project / Properties / JPA / Errors/Warnings Enable Project Specific Settings Type ID class must have a public no-arg constructor (change from Error to something else) 
+3
source

All Articles