Elipse outputs response metadata:
AM: missing artifact javax. JMS: jar: 1.1: Compile
: Missing artifact com. Sun. Jdmk: jmxtools: jar: 1.2.1: Compile
: Missing artifact com. Sun. JMX: jmxri: jar: 1.2.1: Compile
Solution (using jmxri as an example ):
1. Unzip jmxri. Jar
2. Compile jmxri. jar to Maven :~ \. M2 \ repository \ com \ sun \ JMX \ jmxri \ 1.2.1 and renamed it jmxri-1.2.1.jar
3. Upload the POM file to remove the <URL> and <distributionmanagement> endpoints
<URL> http://java.sun.com/products/jms </URL>-
<Distributionmanagement> <DownLoadURL> http://java.sun.com/products/jms/docs.html </DownLoadURL> </distributionmanagement>
4. ~ \. M2 \ repository \ com \ sun \ JMX \ jmxri \ 1.2.1 files with lastupdated suffix under the object category
5. Update Maven dependencis in eclipse composer. OK
In addition, the solution method can be further considered: http://www.diybl.com/course/3_program/java/javajs/20100719/459776.html http://unitstep.net/blog/2009/05/18/resolving-log4j-1215-dependency-problems-in-maven-using-exclusions/
Http://www.iteye.com/topic/973166