自从用了mac以后,springboot启动的时候一直卡在build环节10多秒 但是在linux和Windows环境下,启动只要6秒,后面查看了一下其他 人也遇到这种问题,原来是需要在hosts文件里面加上一个配置, 废话不多说,马上开始 可以看到如下内容: # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change t