Resolving item exclamation points in eclipse

Source: Internet
Author: User
transferred from: http://blog.csdn.net/xiaotaibai2008/archive/2011/04/26/6365334.aspx you create a new Web project with MyEclipse, a. Classpath configuration file is generated under the project directory, which is the configuration of the jar referenced in your project. this. Classpath does not have any effect on your Web project, it is actually for myeclipse identification. The reason you're saying this is because the. classpath file is configured to reference a jar, but in fact your Lib does not have the jar so there is a red hint. You don't have to take the. classpath file and your jar one by one, you open myeclipse 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 all the jars referenced in your project to see if there is a small yellow exclamation point on a jar icon? If some words are right, first select this jar, click on the right of the Remove > click OK Wait a few seconds, the Web project above the Red xx is not, 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.


However, in eclipse, the jar cannot be removed directly, the solution: Select the project, right-click, select Disable Mavenmanagement, and then right, select Enable Mavenmanagement, this time the red exclamation mark will disappear. Sometimes it turns into a red fork, and the pom file becomes a red fork, right-click and build this project.

Resolving item exclamation points in eclipse

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.