Spring Boot Dashboard projects never finish starting

℡╲_俬逩灬. 提交于 2020-01-15 11:52:31

问题


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  

回答1:


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!




回答2:


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.



来源:https://stackoverflow.com/questions/41187727/spring-boot-dashboard-projects-never-finish-starting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!