Category: maven

Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher

After installing maven in centos7 server I was getting following error while checking using mvn --version command. Spend hours searching the issue but was unable to find a right fix. Atlast realized that Instead of binary download I mistakenly downloaded from the source. You need to download the binary file. wget http://mirrors.estointernet.in/apache/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.tar.gz

Install maven and integrate with jenkins in centos7

Create a directory named maven under /opt # mkdir /opt/maven Download maven from apache maven link in /opt/maven folder # wget http://mirrors.estointernet.in/apache/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.tar.gz Note : Always download from binary option. I had to spend hours to fix the issue after installing from source due to following error while mvn --version command Error: Could not find or … Continue reading Install maven and integrate with jenkins in centos7