Missing artifact net.sf.json-lib:json-lib:jar:2.4 error and Eclipse install Maven plugin error

Source: Internet
Author: User

Public Number: Compassblog

Welcome to pay attention to, forward, learn from each other and progress together!

Have any questions, please contact the background message!

1. Configuration of MAVEN project Pom.xml file error

(1), error description: Missing artifact net.sf.json-lib:json-lib:jar:2.4 (details such as)

(2), error Reason: After viewing, the required jar package has been downloaded to the local warehouse, why also said the missing jar package? A little more carefully, the jar package is different, and you need to declare the version number of the JDK.

(3), Workaround: Under the version number configuration jdk15 declaration JDK version, as follows:

2. Different versions of Eclipse install MAVEN plugin

My version is Indigo, at the beginning of the period did not pay attention to this problem, follow the online tutorial directly, the last evening when it was found that the version is wrong.

(1), to ensure that the computer local MAVEN has been installed, such as information indicates that the installation is complete

(2), open Eclipse, select the Install NEW software option under the Help menu and click Add, such as:

(3), enter the information in the fading window: as shown in.
Name:m2e
location:http://download.eclipse.org/technology/m2e/releases/1.4/1.4.1.20140328-1905

(4), followed by, the basic is next, if there is a duplicate location, indicating that the address already exists, reload it!

Missing artifact net.sf.json-lib:json-lib:jar:2.4 error and Eclipse install Maven plugin error

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.