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

Stack Overflow | vatsal shah | 3 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

    worker is getting restarted continuously with closedchannel exception in supervisor

    Stack Overflow | 1 month ago | Vasu Tubati
    java.lang.RuntimeException: java.nio.channels.ClosedChannelException
  2. 0

    ava.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.Log4jLoggerFactory what is the reason for this error

    Stack Overflow | 3 months ago | vatsal shah
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.Log4jLoggerFactory
  3. 0

    KafkaSpout throws NoClassDefFoundError for log4j

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

    Automated exception search integrated into your IDE

  5. 0

    KafkaSpout 引起的 log4j 的问题 - Let There Be Light

    weyo.me | 1 year ago
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.Log4jLoggerFactory
  6. 0

    简单之美 | Kafka+Storm+HDFS整合实践

    shiyanjun.cn | 1 year ago
    java.lang.RuntimeException: java.nio.channels.ClosedChannelException

    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.Log4jLoggerFactory

      at org.apache.log4j.Logger.getLogger()
    2. Apache Log4j
      Logger.getLogger
      1. org.apache.log4j.Logger.getLogger(Logger.java:39)
      1 frame
    3. Apache Kafka
      SimpleConsumer.getOffsetsBefore
      1. kafka.utils.Logging$class.logger(Logging.scala:24)
      2. kafka.consumer.SimpleConsumer.logger$lzycompute(SimpleConsumer.scala:35)
      3. kafka.consumer.SimpleConsumer.logger(SimpleConsumer.scala:35)
      4. kafka.utils.Logging$class.info(Logging.scala:77)
      5. kafka.consumer.SimpleConsumer.info(SimpleConsumer.scala:35)
      6. kafka.consumer.SimpleConsumer.liftedTree1$1(SimpleConsumer.scala:94)
      7. kafka.consumer.SimpleConsumer.kafka$consumer$SimpleConsumer$$sendRequest(SimpleConsumer.scala:83)
      8. kafka.consumer.SimpleConsumer.getOffsetsBefore(SimpleConsumer.scala:149)
      9. kafka.javaapi.consumer.SimpleConsumer.getOffsetsBefore(SimpleConsumer.scala:79)
      9 frames
    4. org.apache.storm
      util$async_loop$fn__624.invoke
      1. org.apache.storm.kafka.KafkaUtils.getOffset(KafkaUtils.java:75)
      2. org.apache.storm.kafka.KafkaUtils.getOffset(KafkaUtils.java:65)
      3. org.apache.storm.kafka.PartitionManager.<init>(PartitionManager.java:103)
      4. org.apache.storm.kafka.ZkCoordinator.refresh(ZkCoordinator.java:98)
      5. org.apache.storm.kafka.ZkCoordinator.getMyManagedPartitions(ZkCoordinator.java:69)
      6. org.apache.storm.kafka.KafkaSpout.nextTuple(KafkaSpout.java:129)
      7. org.apache.storm.daemon.executor$fn__7990$fn__8005$fn__8036.invoke(executor.clj:648)
      8. org.apache.storm.util$async_loop$fn__624.invoke(util.clj:484)
      8 frames
    5. Clojure
      AFn.run
      1. clojure.lang.AFn.run(AFn.java:22)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame