java.lang.NoClassDefFoundError: org/apache/log4j/Logger

Oracle Community | 807596 | 1 decade ago
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

    Problems running a jar

    Oracle Community | 1 decade ago | 843811
    java.lang.NoClassDefFoundError: org/apache/log4j/Logger
  2. 0

    Problem with jar files

    Oracle Community | 1 decade ago | 807596
    java.lang.NoClassDefFoundError: org/apache/log4j/Logger

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/log4j/Logger

      at com.company.sub.prototype.mq.services.GenericMQ.<clinit>()
    2. com.company.sub
      clientTestHarness.main
      1. com.company.sub.prototype.mq.services.GenericMQ.<clinit>(GenericMQ.java:23)
      2. com.company.sub.prototype.mq.services.HeartbeatMessage.<init>(HeartbeatMessage.java:19)
      3. com.company.sub.prototype.testharness.clientTestHarness.sendHeartbeatMessage(clientTestHarness.java:1263)
      4. com.company.sub.prototype.testharness.clientTestHarness.runTest(clientTestHarness.java:1195)
      5. com.company.sub.prototype.testharness.clientTestHarness.main(clientTestHarness.java:1164)
      5 frames