title: javax.management.MBeanServerFactory is a restricted class
body: <p>I'm trying to make spring boot work with GAE, however when I run <code>appengine:devserver</code> the app throws:</p>
  
  <pre><code>[INFO] Jun 03, 2014 11:43:26 AM com.google.apphosting.utils.jetty.JettyLogger warn
  [INFO] WARNING: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'endpointMBeanExporter' defined in class path resource [org/springframework/boot/actuate/autoconfigure/EndpointMBeanExportAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax.management.MBeanServerFactory is a restricted class. Please see the Google  App Engine developer's guide for more details.:
  [INFO] java.lang.NoClassDefFoundError: javax.management.MBeanServerFactory is a restricted class. Please see the Google  App Engine developer's guide for more details.
  [INFO]  at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
  [INFO]  at org.springframework.jmx.support.JmxUtils.locateMBeanServer(JmxUtils.java:106)
  [INFO]  at org.springframework.jmx.support.JmxUtils.locateMBeanServer(JmxUtils.java:86)
  [INFO]  at org.springframework.jmx.export.MBeanExporter.afterPropertiesSet(MBeanExporter.java:413)
  [INFO]  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$6.run(AbstractAutowireCapableBeanFactory.java:1602)
  [INFO]  at java.security.AccessController.doPrivileged(Native Method)
  [INFO]  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1599)
  [INFO]  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549)
  [INFO]  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
  [INFO]  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
  [INFO]  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)
  [INFO]  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
  [INFO]  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)
  [INFO]  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
  [INFO]  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)
  [INFO]  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)
  [INFO]  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
  </code></pre>
  
  <p>How to I work-around this issue?</p>