javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplication

后端 未结 3 1776
难免孤独
难免孤独 2021-02-05 13:08

I developed a Spring boot application and the functionality of the application is working fine. However, at the time of startup, I see the below exception multiple times.

3条回答
  •  离开以前
    2021-02-05 13:29

    I had the same issue with IDEA IntelliJ. The problem was IntelliJ's default server configurations. You just need to remove the 'Enable launch optimization' and 'Enable JMX agent' checkboxes, then it works!

    Steps:

    • Edit Configurations
    • choose your project
    • remove the 'Enable launch optimization' and 'Enable JMX agent' checkboxes

提交回复
热议问题