Eclipse Problems View doesn’t show Errors

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?

Best Answer

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.