项目在mac上跑起来的步骤:
1. 访问,
https://brew.sh/
装上这个
然后
然后
brew install git
brew install maven, settings.xml需要放到目录位置/usr/local/Cellar/maven/<version>/libexec/conf
brew install maven, settings.xml需要放到目录位置/usr/local/Cellar/maven/<version>/libexec/conf
brew install switchhosts (按照提示更改安装目录)
brew install tomcat ,目录在/usr/local/Cellar/tomcat/version/libexec/
2. 下载jdk安装,安装后的位置为 system/java/javavirtualmachines/jdk1.8
3. 下载idea并安装,完毕后,打开idea, 设置maven的地方在右侧,不在原来的settings菜单中
![](https://images2018.cnblogs.com/blog/47012/201804/47012-20180425143139873-1501307527.jpg)
![](https://images2018.cnblogs.com/blog/47012/201804/47012-20180425143356159-195251839.jpg)
之后设置设置tomcat local server, 指定好tomcat目录即可。
![](https://images2018.cnblogs.com/blog/47012/201804/47012-20180425143152604-1713432471.jpg)
![](https://images2018.cnblogs.com/blog/47012/201804/47012-20180425143215533-1352728361.jpg)
4. 注意的地方,/etc/hosts不允许修改,可以先拖到桌面上,修改完毕,再拖回来,覆盖的时候先鉴定, 然后替换即可。
5.
在程序里面的/export/Instances等文件夹,都需要在finder中输入/(双指一起点击finder,然后前往文件夹中输入 /),然后在根目录下创建即可。