Spring Boot Dashboard projects never finish starting

1.4k views Asked by At

When starting any spring-boot application using the Dashboard view, the spinning arrows never stop spinning, the port number never gets displayed, and stopping the application never finishes.

I can terminate the application from the console, then the application stop job that runs in the background runs for a while, then goes away.

What would keep the Spring Boot applications from showing as started in the dashboard? The application console says that it is up and running, and the application itself runs normally with no errors or loss of functionality.

Thanks! -Don

Version Info

Spring Tool Suite

Version: 3.8.2.RELEASE  
Build Id: 201610040743  
Platform: Eclipse Neon.1 (4.6.1)  

Spring Boot in Project

1.4.2.RELEASE  
2

There are 2 answers

0
dlaidlaw On

Answering my own question ...

The culprit was a bad entry in my /etc/hosts file. My machine name was in there with an incorrect IP address. Removing that entry completely made everything work as expected.

Thanks for the help!

0
Blaxx On

Thanks for posting this. Reading your answer I remembered that VisualVM wasn't working as long as I was using a VPN.

Leaving the VPN also solved the issue with the spring dashboard in IntelliJ.