1.打开终端输入: hostname

mac STS springboot 启动特慢

2.修改 /etc/hosts 文件:
127.0.0.1 localhost 电脑名称
::1 localhost 电脑名称

修改后效果如下:
mac STS springboot 启动特慢

3.启动sts 项目速度将非常快

相关文章: