Disabling JMX in a spring application

前端 未结 4 574
滥情空心
滥情空心 2021-02-05 13:19

I\'m trying to disable jmx so that i don\'t get:

org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name \'mbeanExporter\'anymore.         


        
4条回答
  •  南旧
    南旧 (楼主)
    2021-02-05 13:47

    In my case, it was IntelliJ.

    IntelliJ have a setting "Enable JMX agent" in the run configuration. This should be unchecked to disable JMX.

    If checked, this will override any setting that you make in the application via properties/yml.

提交回复
热议问题