Eclipse plugin maven is using Add dependency, unable to find package, workaround

Source: Internet
Author: User

By right-clicking the pom.xml file to select Maven–> add dependency or by opening the Pom.xml file, when you select Dependencies–>add, you cannot search for the dependent jar package, the workaround is as follows:

1. Eclipse Menu window-> Show view–> other–> Maven

2, in the open window, right-click Local repositories–> local repository, select Rebuild Index

Add:

1. Confirm that the Pom.xml file is correct

2, confirm that the local MAVEN warehouse has the same version of the jar package, if not, try to down the way down.

3. In Eclipse, right-click Project, maven->update dependencies, or update project configuration, or encode Pom.xml file, then save

4, no, delete the local repository, the corresponding Jar folder in the directory except the jar file all documents, and then repeat the 3 operation

5, no, re-open the next project

6, no, restart the eclipse


Eclipse plugin maven is using Add dependency, unable to find package, workaround

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.