[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. I
I googled this question having same problem, my solution was simply Project -> Clean.