Recently, idea using M1 chip was very stuck during debugging. Later, I learned that there was a bug in Java8.

Solutions:

  • Check your computer’s hostname.

~ % hostname

You can view your own hostname.

  • Modifying the host file

~ % sudo vim /private/etc/hosts

Press I to edit 127.0.0.1 localhost plus the hsotname you just queried

:wq Save the changes and exit