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