如何更新Eclipse中的警告? [英] How to update warnings in Eclipse?

查看:184
本文介绍了如何更新Eclipse中的警告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse Juno进行Java项目。我在我的工作区设置中激活了不同的警告。此外,我使用Checkstyle为每个项目定义的规则集。
我现在面临的问题是Eclipse显示警告(不确定,如果Checkstyle或Java警告),并且在更改代码时不再更新警告。例如。我有空白的警告,指的是其他行中的代码。



我已经尝试过以下操作:




  • 使用F5刷新

  • 构建项目

  • 项目清理

  • Checkstyle设置:刷新兑现checkstyle配置

  • 使用-clean重新启动Eclipse以清理我的工作区

  • 项目关闭/打开

  • 解决方案

    查看'问题'视图并手动删除警告


    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?

    解决方案

    Take a look in the 'Problems' view and delete the warnings manually

    这篇关于如何更新Eclipse中的警告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆