I started having this problem yesterday. I changed some settings in Eclipse related to compiler warnings (changed some settings related to generic types from ignore to warning), and afterwards, every time I save a file, a bunch of compiler errors appear in places where there were none before, and the only thing that fixes it is Project -> Clean.
The compiler errors are related to:
- "XmlBaseView cannot be resolved to a type"
- "CHOICE_YESNO_NO cannot be resolved to a variable"
- "the import client.rest.views.base.XmlBaseView cannot be resolved"
- "The method XmlBaseView.getUrn() is undefined for the type XmlBaseView".
I literally add 1 character to a string variable and I get 126 errors in the Java file I edited as well as any other files related to it. I tried changing the settings I changed back to the original values, but it didn't help. I already tried restarting eclipse and rebooting, neither helped.
How do I fix this? I'm using Eclipse 2019-03 (4.11.0).