Maven is installed on Mac Platform
If you have installed XCode, XCode will automatically help you install Maven, installed in/usr/share/java/(this is the case for me, after a long time, I found that maven has been installed) the following describes how to copy others' logs to the backup server 3.0.3 1 to ipv3.0.3 2?apache-maven-3.0.3-bin.tar.gz to remove softlink maven 4ln-s/Under/usr/share from/usr/share/ usr/share/java/apache-maven-3.0.3/usr/share/maven 5 modify ~ /. Profile to set M3_HOME =/usr/share/java/apache-maven-3.0.3 attention cannot set M2_HOME and M3_HOME at the same time, otherwise, the following exception Exception occurs in thread "main" java. lang. noClassDefFoundError: org/codehaus/plexus/classworlds/launcher/Launcher Caused by: java. lang. classNotFoundException: org. codehaus. plexus. classworlds. launcher. launcher at java.net. URLClassLoader $ 1.run( URLClassLoader. java: 202) at java. security. accessController. doPrivileged (Native Method) at java.net. URLClassLoader. findClass (URLClassLoader. java: 190) at java. lang. classLoader. loadClass (ClassLoader. java: 307) at sun. misc. launcher $ AppClassLoader. loadClass (Launcher. java: 301) at java. lang. classLoader. loadClass (ClassLoader. java: 248) by everlook