I\'m trying to disable jmx so that i don\'t get:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name \'mbeanExporter\'anymore.
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