1. mac 升级 mojave后 原有的Springboot项目启动非常慢,本来不到10 秒的项目现在需要至少30秒,而且新建一个空项目也是如此;
2.而且发现每次项目都卡在:

解决方案:
1. 查看本机 host 名称:
hostname

2. 修改host 配置文件 :
sudo vim /private/etc/hosts
4. 添加:
127.0.0.1 localhost pandeMacBook-Pro.local

hostname
sudo vim /private/etc/hosts
127.0.0.1 localhost pandeMacBook-Pro.local
本文标题:mac mojave java Springboot 项目启动非
本文链接:https://www.haomeiwen.com/subject/fseefqtx.html
网友评论