Disabling JMX in a spring application

前端 未结 4 560
滥情空心
滥情空心 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:43

    You could try to disable jmx autoconfiguration:

    @EnableAutoConfiguration(exclude={JmxAutoConfiguration.class})
    

提交回复
热议问题