The Eclipse project lacks the MAVEN local warehouse jar Package

Source: Internet
Author: User

First, the online direct download jar Package

1 First, add the required package to the local (feel this does not do all OK)


2 connected to the network, Eclipse Network settings do not work, can only let the computer itself connected to the network, for the proxy class, in advance in other ways to solve.


3 after Eclipse project, right-click, maven-update project, etc.


II. MAVEN install JAR package to local

Solution:

To install Core2-2.4.8.jar to the local Maven directory, proceed as follows:

Add package information to Pom.xml in the project.

Then put the bag in other locations such as

MVN install:install-file-dgroupid=core2-dartifactid=core2-dversion=2.4.8-dpackaging=jar-dfile=d:\jar\ Core2-2.4.8.jar

Run the above command in CMD, and then right-click Maven->update Project in the Eclipse project


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.