• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Blog
  • Sample Page

WordPress Tips

Just another WordPress site

How to Fix Maven Artifacts Could not be Resolved Error? Exclude jms, jmxri & jmxtools JAR Dependencies

January 13, 2017 Leave a Comment 38

I remember long time ago, I faced the same error and I tried fixing it by manually adding .jar files to my maven repository locally.

I executed below command to install it in my localhost maven repo and everything worked.

#echo “installing jmxri 1.2.1” mvn install:install-file -Dfile=lib/jmxri-1.2.1.jar -DgroupId=com.sun.jmx -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar #echo “installing jmxtools

Filed Under: com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1, Core Java and J2EE Tutorials and Tips, Could not transfer artifact error, Eclipse IDE Tips and Tutorials, javax.jms:jms:jar:1.1, Jenkin Build Failure, Jenkin Project Build Issue, Jenkins Jar Files, The following artifacts could not be resolved Error Fix Tagged With: com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1, Core Java and J2EE Tutorials and Tips, Could not transfer artifact error, Eclipse IDE Tips and Tutorials, javax.jms:jms:jar:1.1, Jenkin Build Failure, Jenkin Project Build Issue, Jenkins Jar Files, The following artifacts could not be resolved Error Fix

Reader Interactions

Related Posts

  • Best Way to Append Data to File in Java – Apache commons.io.FileUtils and java.io.BufferedWriter Approach
  • How to Execute tcpdump Linux Command using Java Process Class and Capture TCP/IP Packets
  • Log File Tailer (tail -f) implementation in Java – Best way to tail any file programmatically
  • What is Java Synchronized Collections? Complete Tutorials using java.util.Collections

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Copyright ©2019 · WPress.Tips - All Rights Are Reserved · Powered by Genesis Framework