java.lang.NoClassDefFoundError: javax.management.MBeanServerFactory is a restricted class. Please see the Google App Engine developer's guide for more details.

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Initiating AmazonS3Client on GAE throws NoClassDefFoundError

    Stack Overflow | 3 years ago | AlikElzin-kilaka
    java.lang.NoClassDefFoundError: javax.management.MBeanServerFactory is a restricted class. Please see the Google App Engine developer's guide for more details.
  2. 0

    javax.management.MBeanServerFactory is a restricted class

    Stack Overflow | 3 years ago | xybrek
    java.lang.NoClassDefFoundError: javax.management.MBeanServerFactory is a restricted class. Please see the Google App Engine developer's guide for more details.
  3. 0

    Unable to use JRuby with google app engine due to use of sun.misc.Unsafe

    GitHub | 2 years ago | jaydonnell
    java.lang.NoClassDefFoundError: sun.misc.Unsafe is a restricted class. Please see the Google App Engine developer's guide for more details.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    System.procTime triggers Error in AppEngine environment

    GitHub | 3 years ago | akbertram
    java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory is a restricted class. Please see the Google App Engine developer's guide for more details.
  6. 0

    JNDI availability not correctly detected in Google App Engine

    GitHub | 3 years ago | rmartony
    java.lang.NoClassDefFoundError: javax.naming.InitialContext is a restricted class. Please see the Google App Engine developer's guide for more details.

    11 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax.management.MBeanServerFactory is a restricted class. Please see the Google App Engine developer's guide for more details.

      at com.google.appengine.tools.development.agent.runtime.Runtime.reject()
    2. com.google.appengine
      Runtime.reject
      1. com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
      1 frame
    3. AWS SDK for Java - Core
      AwsSdkMetrics.<clinit>
      1. com.amazonaws.jmx.MBeans.getMBeanServer(MBeans.java:111)
      2. com.amazonaws.jmx.MBeans.registerMBean(MBeans.java:50)
      3. com.amazonaws.jmx.SdkMBeanRegistrySupport.registerMetricAdminMBean(SdkMBeanRegistrySupport.java:27)
      4. com.amazonaws.metrics.AwsSdkMetrics.registerMetricAdminMBean(AwsSdkMetrics.java:330)
      5. com.amazonaws.metrics.AwsSdkMetrics.<clinit>(AwsSdkMetrics.java:308)
      5 frames
    4. Java RT
      Class.forName
      1. java.lang.Class.forName0(Native Method)
      2. java.lang.Class.forName(Class.java:188)
      2 frames
    5. com.google.appengine
      Runtime.checkRestricted
      1. com.google.appengine.tools.development.agent.runtime.RuntimeHelper.checkRestricted(RuntimeHelper.java:70)
      2. com.google.appengine.tools.development.agent.runtime.Runtime.checkRestricted(Runtime.java:64)
      2 frames
    6. AWS Java SDK for Amazon S3
      AmazonS3Client.<clinit>
      1. com.amazonaws.services.s3.AmazonS3Client.<clinit>(AmazonS3Client.java:231)
      1 frame