STS Spring Boot Dashboard Doesn't Recognize Successful Start

佐手、 提交于 2019-12-08 03:57:27

Please provide a sample app and I will debug the issue and then we can fix and/or provide a more precise answer to your question.

Without a sample app the best I can do is give vague hints that 'something' seems to be going wrong with the JMX lifecycle mgmt bean.

There may be a workaround you can use. The 'life-cycle-bean' support can be turned off explicitly and then you will fallback on pre boot 1.3 behavior for the dash. (This means STS will not distinguish 'starting' from 'running' state and will not use a 'ask nicely' approach to terminate the process but just forcefully shut it down).

If that's good enough for you then open the launch config for your app (e.g. by selecting it and clicking the 'pencil' button in the dash) and deselect the appropriate checkbox. See screenshot below:

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