Question

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.

Was it helpful?

Solution

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

scutil --set HostName "localhost"

OTHER TIPS

It must be something with you environment. You may try running the app in other IDE like Intellij. I presume it's the STS causing the problem. You may also try running it in fresh STS installation. I'm using latest OSX and Intellij and have no problems.

If you want to play around with this you could also analyse a java code dump to see what's happening inside your jvm: http://www.javacodegeeks.com/2013/02/analysing-a-java-core-dump.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top