The Eclipse project has a red exclamation point

Source: Internet
Author: User

http://blog.csdn.net/geekjoker/article/details/6446472

Problem reason ": The package path error pointed to in Classpath in the project

"Workaround": Right-click the project name BuildPath---> Configure Build paht ... , and then there are several tabs above to find the package that appears in libraries with the Red Cross in the path error. Modify the current path of the corresponding package into classpath. Then go back to Eclipse and F5 refresh the project.

The following two paragraphs refer to the resources that I find on the Internet when I resolve this issue:

You create a new Web project with MyEclipse, a. Classpath profile is generated under the project catalog,
Inside is the configuration of the jar referenced in your project. this. Classpath has no effect on your Web project.
In fact, it is for myeclipse recognition. That's what you're talking about because. classpath file inside
The configuration references a jar, but in fact your Lib does not have the jar so there is a red hint.
You don't have to take. classpath file and your jar one by one, you open the MyEclipse now.
Right-click your Web project and find the build Path > Configure build paht ...
> Then there are several tabs above to find Libraries. What you see here is the quote from your project.
All jars, see if there's a small yellow exclamation mark on a jar icon?
If there is something wrong, select the jar first, click on the right of the Remove > click OK
Wait a few seconds, now the Web project above the Red xx is not no, haha.
Explain: The jar of the yellow exclamation point, which indicates that the. Classpath configuration file references the jar,
But in fact Lib does not have this jar inside.

The Eclipse project has a red exclamation point

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.