java.lang.NoClassDefFoundError: org/apache/log4j/Category))

qos.ch | 2 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

    Taxonomy of class loader problems with Jakarta Commons Logging

    qos.ch | 2 months ago
    java.lang.NoClassDefFoundError: org/apache/log4j/Category))
  2. 0

    Issues with Apache HTTP Client and logging

    Stack Overflow | 3 years ago | Lopina
    org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@78aded17 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@78aded17 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
  3. 0

    get NoClassDefFoundError with log4j, commons logging and tomcat 7 when trying to use log4j in webapp

    Stack Overflow | 3 years ago | user3250328
    org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@f8f541 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@f8f541 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    problem with logger (JForum forum at Coderanch)

    coderanch.com | 11 months ago
    org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@113a53d for org.apache.commons.logging.impl.Log4JLogger (Caused by : org/apache/log4j/Category))

  1. jokester 2 times, last 3 months ago
24 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

    org/apache/log4j/Category

    at java.lang.Class.getDeclaredConstructors0()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getDeclaredConstructors0(Native Method)
    2. java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
    3. java.lang.Class.getConstructor0(Class.java:1762)
    4. java.lang.Class.getConstructor(Class.java:1002)
    4 frames
  3. Apache Commons Logging
    LogFactory.getLog
    1. org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
    2. org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
    3. org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
    4. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
    4 frames
  4. box
    BoxImplWithJCL.doOp
    1. box.BoxImplWithJCL.doOp(BoxImplWithJCL.java:23)
    1 frame
  5. ch.qos.test
    ChildFirstTestJCL2.main
    1. ch.qos.test.ChildFirstTestJCL2.main(ChildFirstTestJCL1.java:42)
    1 frame