개요

MacOS에서 SpringBoot startup이 느린 현상을 구글링 해보고 해결방법을 정리해둔다.

해결방법

/etc/hosts에 아래의 내용을 추가해준다. my_computer_name 부분은 hostname으로 얻어진 본인 컴퓨터 이름으로 변경해준다.
또한 반드시 localhost가 존재해야 빨라지는 것을 체감하였다.

127.0.0.1    localhost    <my_computer_name>.local