java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager

docfetcher | *anonymous | 10 months 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

    The program died when I tried indexing folders

    docfetcher | 10 months ago | *anonymous
    java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
  2. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  3. 0

    My jar file built with ant doesn't run when double click

    Stack Overflow | 2 years ago | Jon
    java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot run the code due to java.lang.NoClassDefFoundError

    Stack Overflow | 1 year ago | Klausos Klausos
    java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
  6. 0

    GitHub comment 1#188782169

    GitHub | 1 year ago | carcabot
    java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
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.logging.log4j.LogManager

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. Jericho HTML Parser
    Source.<init>
    1. net.htmlparser.jericho.LoggerProviderLog4J.getLogger(LoggerProviderLog4J.java:35)
    2. net.htmlparser.jericho.LoggerProviderLog4J.getSourceLogger(LoggerProviderLog4J.java:41)
    3. net.htmlparser.jericho.Source.newLogger(Source.java:1685)
    4. net.htmlparser.jericho.Source.<init>(Source.java:119)
    5. net.htmlparser.jericho.Source.<init>(Source.java:132)
    6. net.htmlparser.jericho.Source.<init>(Source.java:174)
    6 frames
  4. net.sourceforge.docfetcher
    IndexingQueue$2.run
    1. net.sourceforge.docfetcher.model.parse.UtilParser.getSource(UtilParser.java:42)
    2. net.sourceforge.docfetcher.model.parse.UtilParser.getSource(UtilParser.java:56)
    3. net.sourceforge.docfetcher.model.parse.EpubParser.parse(EpubParser.java:59)
    4. net.sourceforge.docfetcher.model.parse.EpubParser.parse(EpubParser.java:44)
    5. net.sourceforge.docfetcher.model.parse.ParseService.doParse(ParseService.java:309)
    6. net.sourceforge.docfetcher.model.parse.ParseService.parse(ParseService.java:233)
    7. net.sourceforge.docfetcher.model.index.file.FileContext.index(FileContext.java:146)
    8. net.sourceforge.docfetcher.model.index.file.FileIndex$1.handleFile(FileIndex.java:295)
    9. net.sourceforge.docfetcher.model.index.file.HtmlFileLister.runWithHtmlPairing(HtmlFileLister.java:124)
    10. net.sourceforge.docfetcher.model.index.file.HtmlFileLister.doRun(HtmlFileLister.java:57)
    11. net.sourceforge.docfetcher.util.Stoppable.run(Stoppable.java:57)
    12. net.sourceforge.docfetcher.model.index.file.FileIndex.visitDirOrZip(FileIndex.java:282)
    13. net.sourceforge.docfetcher.model.index.file.FileIndex.doUpdate(FileIndex.java:159)
    14. net.sourceforge.docfetcher.model.TreeIndex.update(TreeIndex.java:148)
    15. net.sourceforge.docfetcher.model.index.Task.update(Task.java:98)
    16. net.sourceforge.docfetcher.model.index.IndexingQueue.threadLoop(IndexingQueue.java:193)
    17. net.sourceforge.docfetcher.model.index.IndexingQueue.access$100(IndexingQueue.java:46)
    18. net.sourceforge.docfetcher.model.index.IndexingQueue$2.run(IndexingQueue.java:118)
    18 frames