Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Eclipse, what can cause Package Explorer "red-x" error-icon when all Java sources compile without errors?

Tags:

java

eclipse

I'm using Eclipse for Java development. All my sources compile fine and the resulting application compiles fine. However, I keep getting an "red-x" error notification in the Package Explorer.

All my sources in this source directory (too long for the snapshot) compile fine, none of the show the "red-x" error icon.

Any suggestions on how to fix the problem would be highly appreciated.

like image 533
Alfred B. Thordarson Avatar asked Oct 22 '08 10:10

Alfred B. Thordarson


People also ask

What does the red X mean in Eclipse?

In Eclipse IDE, If a project contains errors, a small “red-x” icon will be displayed in the files that are causing the error. This useful feature is supported in Java related perspectives only, for example, “Package Explorer”.

How do I force Eclipse to recompile?

For Eclipse you can find the rebuild option under Project > Clean and then select the project you want to clean up... that's all.


1 Answers

yeah, this happens sometimes for no apparent reason. You can go to the "Problems"-Tab (right next to console output) and see the error message, so maybe you can narrow it down that way.

like image 188
Jan Gressmann Avatar answered Sep 25 '22 10:09

Jan Gressmann