java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager

hivmr.com | 4 months ago
  1. 0

    db:: 4.51::Error configuring application listener of class org.jboss.weld.servlet.WeldListener f1

    hivmr.com | 4 months ago
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager
  2. 0

    Application run well from eclipse, but fails to start, when it is deployed manually

    Stack Overflow | 6 years ago | Igor Grinfeld
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager
  3. 0

    How to make simple log4j configuration?

    Stack Overflow | 4 years ago | Kliver Max
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sqoop using shell is failing - Hortonworks

    hortonworks.com | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager
  6. 0

    Elastic Search: java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager

    Stack Overflow | 6 months ago | Nagaraj Vittal
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager

    8 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

      Could not initialize class org.apache.log4j.LogManager

      at org.apache.log4j.Logger.getLogger()
    2. Apache Log4j
      Logger.getLogger
      1. org.apache.log4j.Logger.getLogger(Logger.java:117)
      1 frame
    3. de.itcampus.vegas
      VegasContextListener.clinit
      1. de.itcampus.vegas.util.VegasContextListener.clinit(VegasContextListener.java:89)
      1 frame
    4. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    5. JBoss Application Server Tomcat
      TomcatInjectionContainer.newInstance
      1. org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:242)
      1 frame
    6. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3859)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4393)
      2 frames
    7. JBoss Application Server Tomcat
      TomcatDeployment.performDeploy
      1. org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367)
      2. org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146)
      2 frames
    8. JBoss Application Server Server
      WebModule.start
      1. org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
      2. org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
      3. org.jboss.web.deployers.WebModule.start(WebModule.java:96)
      3 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    10. org.jboss.mx
      ReflectedDispatcher.invoke
      1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      1 frame
    11. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      2. org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      3. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      4. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      4 frames
    12. org.jboss.system
      ServiceProxy.invoke
      1. org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
      1 frame
    13. Unknown
      $Proxy36.start
      1. $Proxy36.start(Unknown Source)
      1 frame
    14. org.jboss.system
      StartStopLifecycleAction.installAction
      1. org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
      2. org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
      2 frames
    15. JBoss Microcontainer Dependency
      AbstractControllerContext.install
      1. org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      2. org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      3. org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      4. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      4 frames
    16. org.jboss.system
      ServiceControllerContext.install
      1. org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
      1 frame
    17. JBoss Microcontainer Dependency
      AbstractController.change
      1. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      2. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      3. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      5. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      6. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      6 frames
    18. JBoss Application Server System
      ServiceDeployer.deploy
      1. org.jboss.system.ServiceController.doChange(ServiceController.java:688)
      2. org.jboss.system.ServiceController.start(ServiceController.java:460)
      3. org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
      4. org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
      5. org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
      5 frames
    19. JBoss Deployers SPI
      AbstractRealDeployer.deploy
      1. org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      2. org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      2 frames
    20. JBoss Deployers Impl
      DeployersImpl.install
      1. org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      2. org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      3. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      4. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      5. org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      5 frames
    21. JBoss Microcontainer Dependency
      AbstractController.change
      1. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      2. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      3. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      5. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      6. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      7. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      7 frames
    22. JBoss Deployers Impl
      MainDeployerImpl.process
      1. org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      2. org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
      2 frames
    23. org.jboss.system
      ProfileServiceBootstrap.start
      1. org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
      2. org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
      2 frames
    24. org.jboss.bootstrap
      AbstractServerImpl.start
      1. org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
      1 frame
    25. JBoss Application Server Server
      Main$1.run
      1. org.jboss.Main.boot(Main.java:209)
      2. org.jboss.Main$1.run(Main.java:547)
      2 frames
    26. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame