Install maven on mac

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.