0

Hello StackOverflow community,

I am encountering an issue when running my Spring Boot application in IntelliJ IDEA Ultimate. Upon starting the application, I consistently receive a notification indicating that the "Failed to retrieve application JMX service URL."

Environment

Operating System: macOS Ventura 13.5

IntelliJ IDEA Ultimate Version: IntelliJ IDEA 2023.2 (Ultimate Edition)

Spring Boot Version: 3.1.2

Java Version: 17


Error Image

I am seeking assistance in resolving this problem.

1 Answers1

0

In IntelliJ IDEA, open Spring Boot's Run/Debug Configurations and add the following line to the VM Options:

-Djava.rmi.server.hostname=localhost
Leszek Jasek
  • 2,206
  • 1
  • 23
  • 30