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

qos.ch | 4 months 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

    Taxonomy of class loader problems with Jakarta Commons Logging

    qos.ch | 4 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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))
  5. 0

    problem with logger (JForum forum at Coderanch)

    coderanch.com | 1 year 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 4 months ago
25 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
    ParentFirstTestJCL1.main
    1. ch.qos.test.ParentFirstTestJCL1.main(ParentFirstTestJCL1.java:44)
    1 frame