develog

[intellij] javax.management.InstanceNotFoundException 본문

IDE/intellij

[intellij] javax.management.InstanceNotFoundException

냐옴 2020. 2. 20. 22:23

javax.management.InstanceNotFoundException 발생시

javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplication
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) ~[na:1.8.0_241]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:643) ~[na:1.8.0_241]

 

Enable JMX agent 체크 해제

또는 root debug 로깅을 삭제

logging:
  level:
#   root: debug
Comments