Disabling JMX in a spring application

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

    Are you using spring boot? If so you just need to place the file in src\main\resources\application.properties by default

    You can check sample projects here https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples

提交回复
热议问题