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

Coderanch | Jay B Shukla | 1 year ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    unable to read the properties file in jar (property files are withing specific env folder)

    Coderanch | 1 year ago | Jay B Shukla
    java.lang.NoClassDefFoundError: org.apache.log4j.Logger
  2. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  3. 0

    Issues converting docx to PDF in java

    Stack Overflow | 4 years ago | user2065929
    java.lang.NoClassDefFoundError: org/apache/log4j/Logger at org.docx4j.openpackaging.Base.<clinit>(Base.java:42)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to run JAR through command line or double click

    Stack Overflow | 3 years ago | Aseem Bansal
    java.lang.NoClassDefFoundError: org/apache/log4j/Logger
  6. 0

    Unable to run executable jar containing dependencies

    Stack Overflow | 6 years ago | redsonic
    java.lang.NoClassDefFoundError: org/apache/log4j/Logger

  1. iferca 3 times, last 2 weeks ago
  2. andyglick 1 times, last 2 weeks ago
  3. Andreas Häber 2 times, last 2 weeks ago
  4. carloscharx 6 times, last 3 weeks ago
  5. poroszd 1 times, last 3 weeks ago
68 more registered users
27 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.ClassNotFoundException

    org.apache.log4j.Logger

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:434)
    2. java.lang.ClassLoader.loadClassHelper(ClassLoader.java:703)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:682)
    4. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:665)
    5 frames
  3. com.delta.waivermgmt
    TktWaiverAppliedInvalidProcess.<clinit>
    1. com.delta.waivermgmt.admin.TktWaiverAppliedInvalidProcess.<clinit>(TktWaiverAppliedInvalidProcess.java:25)
    1 frame
  4. Java RT
    J9VMInternals.initialize
    1. java.lang.J9VMInternals.initializeImpl(Native Method)
    2. java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
    2 frames