Sometimes intellij doesn’t show anything in the endpoints tab in the local. We may need it sometimes, for example: When we need to run /api-docs.yaml from endpoints tab to get latest swagger. We will see below message when we click on endPoints tab:
Failed to check application ready state: AttachProvider for the vm is not found. Press Refresh button to reinit ready state checking
This is because of a bug in intellij with having multiple versions of jdk in local. You can find the status of it in https://youtrack.jetbrains.com/issue/IDEA-204797
Fix for this is: We need to go to Edit configurations, select the service and then add below options in VM
-Dcom.sun.management.jmxremote.port=9061 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
They must be space seperated and you must use your own port which ever you would like to.