Springboot not showing endpoints in intellij

Ratna
Jul 3, 2020

I have been using intellij from last 4 years. Very recently I am having below when I try to endpoints

Failed to check application ready state: AttachProvider for the vm is not found. Press Refresh button to reinit ready state checking.

I found IntelliJ IDEA uses local JMX connector for retrieving Spring Boot actuator endpoint’s data by default. However, it could be impossible to get local JMX connector address vi attach api if Spring Boot application and IntelliJ IDEA are run by different JVMs. In this case, add the following lines to VM options of your Spring Boot run configuration:
-Dcom.sun.management.jmxremote.port={some_port}
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false

As mentioned in the official Oracle documentation, this configuration is insecure. Any remote user who knows (or guesses) your port number and host name will be able to monitor and control your Java applications and platform.

--

--

Ratna

Senior System Developer with 15 years of experience. Currently focused on microservice, Event Driven, CQRS architecture