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

Coderanch | Poorav Chaudhari | 5 years 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

    java.lang.NoClassDefFoundError thrown when running jar file

    Stack Overflow | 5 years ago | Poorav
    java.lang.NoClassDefFoundError: org/apache/log4j/Logger
  2. 0

    java.lang.NoClassDefFoundError thrown when running jar file

    Coderanch | 5 years ago | Poorav Chaudhari
    java.lang.NoClassDefFoundError: org/apache/log4j/Logger

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/log4j/Logger

      at tabalchi.MyLogger.getLogger()
    2. tabalchi
      MyLogger.getLogger
      1. tabalchi.MyLogger.getLogger(MyLogger.java:51)
      1 frame
    3. tabalchiApp
      TabalchiApp.main
      1. tabalchiApp.TabalchiApp.printSystemProps(TabalchiApp.java:117)
      2. tabalchiApp.TabalchiApp.main(TabalchiApp.java:37)
      2 frames