Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Spring Boot extremely slow to start up on Mac OSX Mavericks (10.9.2)?

Tags:

I don't have any other issues with java and STS starts up fine but when I try to run my app as "Run as Spring Boot App" (or any of the samples), the console is empty for up to 5 minutes, before I get the familiar "Spring Boot" ASCII art. Then it works fine.

like image 640
Paul Drummond Avatar asked May 08 '14 20:05

Paul Drummond


1 Answers

Turns out there was an issue resolving the network host. I fixed it by executing this command from the console:

scutil --set HostName "localhost" 
like image 63
Paul Drummond Avatar answered Dec 21 '22 23:12

Paul Drummond