I use JPA static metamodel in project and my findBug stopped working. I get errors like:
Error:(10, 17) java: duplicate class: domain.entity.User_
For all autogenerated classess.
I found this answer: link
Here are some ideas:
Modify the generator to add a (redundant) setter. Implement a FindBugs filter (see http://findbugs.sourceforge.net/manual/filter.html) to exclude that specific bug in specific classes or packages. Or generally.
But I do not understand how can I create myExcludeFilter.xml
(exclude all Entyty_
classes) and how can I add this file to spring boot.