idea 启动或debug springboot web项目特别慢的解决方案

 

 首先,需要查出自己的机器名,例如:Mac机器可以以此查看 系统偏好设置-->共享--电脑名称,如图所示

然后修改hosts文件,vim /etc/hosts  加上如下两行,然后你的web项目启动时间会大大缩短

127.0.0.1 localhost QXIT-PC-000587.local
::1 localhost QXIT-PC-000587.local

 

posted @ 2020-06-08 19:48  一碗正气粥  阅读(1222)  评论(0编辑  收藏  举报