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