Java Eclipse 中项目图标上的“红十字”是什么意思?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4012458/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does "red cross" on project icon mean in Eclipse?
提问by Ahsan
After some code modifications, I suddenly noticed the project icon has a small red cross icon. However, no other file/package/folder is showing this icon. I am not sure where the error is and how to solve it.
经过一些代码修改,我突然注意到项目图标有一个小红叉图标。但是,没有其他文件/包/文件夹显示此图标。我不确定错误在哪里以及如何解决它。
采纳答案by Guillaume
Usually it means that there's a path error, eg. one jar referenced in the project cannot be found.
通常这意味着存在路径错误,例如。找不到项目中引用的一个 jar。
Use the 'problems' view to get more details
使用“问题”视图获取更多详细信息
回答by Siddharth
This kind of problem usually happens when you are using maven project. To solve this right click on the project, go to maven and select update project. The red cross icon will go.
这种问题通常在您使用 maven 项目时发生。要解决此问题,请右键单击项目,转到 maven 并选择更新项目。红十字图标将消失。