Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what does cross sign means in eclipse

Tags:

java

eclipse

I have a project opened in eclipse, its a java web application. In eclipse I can see that there is a red cross sign with my project name, On expanding my project I can see many files have the same red cross sign.

What does this cross sign means in eclipse? Is it showing some compilation error? if error how can I see the error? Also what does that triangle icon means?

enter image description here

Please check the screenshot above and see the cross and triangle signs...

like image 746
coure2011 Avatar asked Dec 01 '22 22:12

coure2011


1 Answers

The cross on red ground means an error in this file, while a question mark on yellow ground indicates a warning. You can see them in the Problems tab in eclipse:

Eclipse problems tab

You can customize what is treated as an error and as a warning under Window -> Preferences and then search for errors/warnings (Also take a look at the docs: Java Compiler Errors/Warnings Preferences

In addition to the markings on the resources, you can see errors and warnings in an open file next to the scroll bar:

enter image description here

like image 192
devrys Avatar answered Dec 04 '22 06:12

devrys