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

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
Leave a Reply