A summary of the solution to the project with red exclamation point in MyEclipse

Source: Internet
Author: User

Red exclamation point analysis for items in MyEclipse:

The "Red exclamation mark" on the project name indicates that the project's jar package has been introduced with a problem and the jar package needs to be reintroduced. There are two kinds of situations:

1. The package path error pointed to in Classpath in the project:

Workaround:

"1" In the project right click, choose "Bulid Path";

"2" Select Pop-up dialog box "Libraries", at this time the project jar must have the wrong path introduced, the first direct deletion of the introduction of the error, then choose "Add External JARs";

"3" to find the storage path of the jar file, select one or more, directly reintroduced, the project recompile, the red exclamation mark will automatically disappear.


2. Other reasons for importing non-jar files, which need to be seen through the problems panel:

As shown in the following illustration:

In the AXIS2 project shown above, import the Lib package provided by the official website (which contains the. txt file), as shown in the following illustration:

At this point, you can see the following information in MyEclipse:


The solution is:

Right-click Item, under Build Path option, find configure build path, remove introduced. txt


After the removal, the project will be a red exclamation point message, the program can also work correctly.

Therefore, in the second case, be aware that when you import a jar package, do not import the unwanted files into the project path.

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.