Eclipse Project tree List does not prompt for error solutions __eclipse

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.