Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Problems View doesn't show Errors

Tags:

eclipse

[Note: There is another thread about this problem but it did not answer the question.]

For one specific project in Eclipse, the problems view does not show errors. It shows warnings but it does not show errors. The other projects do show errors (and everything else). For that problematic project, I can see the red squiggly error line in the files. However, the directory structure does not show an error icon and the error is not populated in the Problems View.

Any ideas?

like image 300
volni Avatar asked Mar 23 '10 19:03

volni


2 Answers

For anyone else who is having this problem, I have found the answer:

Make sure that Eclipse recognizes your project as a Java project. Specifically, under Project Properties ensure that you have a Java Builder that is checked.

That way, your project will be built and you will see errors in the Problems view.

like image 69
volni Avatar answered Sep 22 '22 23:09

volni


I want to post my story here if Google brings you to this question.

Somehow, "Project->Build Automatically" got turned off.

enter image description here

Turning it back on produces correct errors list.

I've tested that this is the case as far as Ganymede ( at the point of writing this post I am running Indigo )

like image 41
Alexander Pogrebnyak Avatar answered Sep 24 '22 23:09

Alexander Pogrebnyak