maven - Error: Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher -
i have installed latest maven-3.2.5
on linux mint throgh cli installation details follows:
export java_home=/usr/lib/jvm/java-7-openjdk-amd64/ export m2_home=/home/mani/apache-maven-3.2.5/bin/
in command shows this:
mani@manithullimilli ~/apache-maven-3.2.5/bin $ ./mvn version
error: not find or load main class org.codehaus.plexus.classworlds.launcher.launcher mani@manithullimilli ~/apache-maven-3.2.5/bin $
i have setted path
you mentioned m2_home environment variable incorrectly.m2_home environment variable should "/home/mani/apache-maven-3.2.5"
export m2_home=/home/mani/apache-maven-3.2.5
and add $m2_home/bin directory path.
Comments
Post a Comment