问题
I am using Eclipse Juno for a Java project. I have activated different warnings in my workspace settings. Furthermore I use Checkstyle with a defined rule set for each project. The problem I am facing now is that Eclipse shows warnings (not sure, if Checkstyle or Java warnings) and does not update the warnings anymore, when I change code. E.g. I have warnings in empty lines referring to code in other lines.
I already tried the following things:
- Refresh with F5
- Building the projects
- Project clean
- Checkstyle settings: Refresh cashed checkstyle configurations
- Restarting Eclipse with "-clean" to clean my workspace
- Project close/open
Does anyone have another tip on how to solve the issue?
回答1:
Take a look in the 'Problems' view and delete the warnings manually
来源:https://stackoverflow.com/questions/17194026/how-to-update-warnings-in-eclipse