How to update warnings in Eclipse?

谁都会走 提交于 2019-12-23 18:04:40

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!