Maven error : Could not find or load main class org.codehaus.plexus.classworlds.launcher.Launcher
Please remove M2_HOME as environment variable, it is already set by the mvn script. The only things you need to do is: add apache-maven-3.x.x/bin to your path, set JAVA_HOME as environment variable. So no need to add %JAVA_HOME%/bin to your path Try to run mvn -v from /Library/Maven-3.3.3/bin/ folder first to confirm the installation is … Read more