java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problems with using Log4j 2 in GAE
    via by Unknown author,
  • Problems with using Log4j 2 in GAE
    via Stack Overflow by xybrek
    ,
  • Connect to database in GWT and strange errors
    via Stack Overflow by Theo
    ,
  • Problems using org.apache.lucene on Appengine
    via Stack Overflow by Weini
    ,
    • java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory 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(Runtime.java:51) at org.apache.logging.log4j.core.appender.rolling.OnStartupTriggeringPolicy.<clinit>(OnStartupTriggeringPolicy.java:35) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at org.apache.logging.log4j.core.config.plugins.PluginManager.decode(PluginManager.java:241) at org.apache.logging.log4j.core.config.plugins.PluginManager.collectPlugins(PluginManager.java:152) at org.apache.logging.log4j.core.config.plugins.PluginManager.collectPlugins(PluginManager.java:130) at org.apache.logging.log4j.core.pattern.PatternParser.<init>(PatternParser.java:116) at org.apache.logging.log4j.core.pattern.PatternParser.<init>(PatternParser.java:102) at org.apache.logging.log4j.core.layout.PatternLayout.createPatternParser(PatternLayout.java:183) at org.apache.logging.log4j.core.layout.PatternLayout.<init>(PatternLayout.java:115) at org.apache.logging.log4j.core.layout.PatternLayout.createLayout(PatternLayout.java:219) at org.apache.logging.log4j.core.config.DefaultConfiguration.<init>(DefaultConfiguration.java:51) at org.apache.logging.log4j.core.LoggerContext.<init>(LoggerContext.java:63) at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.locateContext(ClassLoaderContextSelector.java:217) at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:145) at org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:81) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:83) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:34) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:200) at org.slf4j.helpers.Log4JLoggerFactory$PrivateManager.getContext(Log4JLoggerFactory.java:103) at org.slf4j.helpers.Log4JLoggerFactory.getContext(Log4JLoggerFactory.java:89) at org.slf4j.helpers.Log4JLoggerFactory.getLogger(Log4JLoggerFactory.java:45) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:253) at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:156) at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:270) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) at com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:249) at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:306) at com.google.appengine.tools.development.AutomaticInstanceHolder.startUp(AutomaticInstanceHolder.java:26) at com.google.appengine.tools.development.AbstractModule.startup(AbstractModule.java:79) at com.google.appengine.tools.development.Modules.startup(Modules.java:88) at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:240) at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:399) at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48) at com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:334) at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:310)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    7 more bugmates