java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.util.Loader

apache.org | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [LOG4J2-1051] NoClassDefFoundError when starting app on Google App Engine - ASF JIRA

    apache.org | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.util.Loader
  2. 0

    [LOG4J2-1051] NoClassDefFoundError when starting app on Google App Engine - ASF JIRA

    apache.org | 7 months ago
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.util.Loader
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [LOG4J2-716] Auto-disable JMX when detecting Android - ASF JIRA

    apache.org | 2 years ago
    java.lang.NoClassDefFoundError: java.lang.management.ManagementFactory

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.apache.logging.log4j.core.util.Loader

      at org.apache.logging.log4j.core.lookup.Interpolator.<init>()
    2. Apache Log4j Core
      Log4jContextFactory.getContext
      1. org.apache.logging.log4j.core.lookup.Interpolator.<init>(Interpolator.java:114)
      2. org.apache.logging.log4j.core.config.AbstractConfiguration.<init>(AbstractConfiguration.java:105)
      3. org.apache.logging.log4j.core.config.NullConfiguration.<init>(NullConfiguration.java:30)
      4. org.apache.logging.log4j.core.LoggerContext.<clinit>(LoggerContext.java:62)
      5. org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.locateContext(ClassLoaderContextSelector.java:145)
      6. org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:70)
      7. org.apache.logging.log4j.core.selector.ClassLoaderContextSelector.getContext(ClassLoaderContextSelector.java:57)
      8. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:142)
      9. org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:42)
      9 frames
    3. Apache Log4j API
      LogManager.getLogger
      1. org.apache.logging.log4j.LogManager.getContext(LogManager.java:175)
      2. org.apache.logging.log4j.LogManager.getLogger(LogManager.java:426)
      2 frames
    4. Struts 2 Tiles Plugin
      StrutsTilesListener.<clinit>
      1. org.apache.struts2.tiles.StrutsTilesListener.<clinit>(StrutsTilesListener.java:50)
      1 frame
    5. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      5. java.lang.Class.newInstance(Class.java:375)
      5 frames
    6. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.webapp.WebXmlConfiguration.newListenerInstance(WebXmlConfiguration.java:650)
      2. org.mortbay.jetty.webapp.WebXmlConfiguration.initListener(WebXmlConfiguration.java:631)
      3. org.mortbay.jetty.webapp.WebXmlConfiguration.initWebXmlElement(WebXmlConfiguration.java:368)
      4. org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:289)
      5. org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222)
      6. org.mortbay.jetty.webapp.WebXmlConfiguration.configureWebApp(WebXmlConfiguration.java:180)
      7. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1247)
      8. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
      9. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
      9 frames
    7. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    8. com.google.apphosting
      JettyServletEngineAdapter.serviceRequest
      1. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.createHandler(AppVersionHandlerMap.java:199)
      2. com.google.apphosting.runtime.jetty.AppVersionHandlerMap.getHandler(AppVersionHandlerMap.java:174)
      3. com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:134)
      3 frames
    9. appengine-managed-runtime
      JavaRuntime$RequestRunnable.run
      1. com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:527)
      1 frame
    10. Google tracing
      TraceContext$TraceContextRunnable.run
      1. com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:437)
      2. com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444)
      3. com.google.tracing.CurrentContext.runInContext(CurrentContext.java:230)
      4. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:308)
      5. com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:300)
      6. com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:441)
      6 frames
    11. appengine-managed-runtime
      ThreadGroupPool$PoolEntry.run
      1. com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251)
      1 frame
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame