Today, on the Mac Eclipse Development Project, I encountered a problem where there was an error in one of my Java files, but the list of files on the left does not display any red error messages. For a project with a lot of packages with many classes in it, there is a mistake, but it's just not showing where the error is, it's going to be a very bad thing. As shown in the picture:
。
。
The simple question, "research" for 2 hours, finally found out where the problem had arisen. Originally my tab selected is navigator, as shown in the figure:
。
Navigator does not display any errors or warnings by default, just displays a navigation bar. So the solution to the problem is to switch to "Package Explorer." Click Window-->show view-->package Explorer. Then the left side will appear, as shown in figure:
。
So we can lock the wrong location.
GitHub home: https://github.com/chenyufeng1991. You are welcome to visit.