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

Eclipse Bugzilla | marcos-luiz | 10 years 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

    [server] "No suitable Log constructor error" when running OSGi based JSP server

    Eclipse Bugzilla | 10 years ago | marcos-luiz
    java.lang.NoClassDefFoundError: org/apache/log4j/Category))
  2. 0

    ecyrd.com | 8 months ago
    java.lang.NoClassDefFoundError: org/apache/log4j/Category))
  3. 0

    Eclipse Community Forums: ServerTools (WTP) » J2EE Preview Server, Jetty, Dynamic Web Projects and log4j

    eclipse.org | 6 months ago
    java.lang.NoClassDefFoundError: org/apache/log4j/Category)) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(L ogFactoryImpl.java:543) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:235) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(L ogFactoryImpl.java:209) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java :351)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Adding Log4J to GWT?

    Google Groups | 7 years ago | AthlonRob
    java.lang.NoClassDefFoundError: org/apache/log4j/Category))

  1. jokester 2 times, last 2 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(Unknown Source)
    3. java.lang.Class.getConstructor0(Unknown Source)
    4. java.lang.Class.getConstructor(Unknown Source)
    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.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
    5. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
    5 frames
  4. GWT dev
    JspServlet.init
    1. org.apache.jasper.EmbeddedServletOptions.<init>(EmbeddedServletOptions.java:43)
    2. org.apache.jasper.servlet.JspServlet.init(JspServlet.java:97)
    2 frames
  5. org.eclipse.equinox
    Activator$HttpServiceTracker.addingService
    1. org.eclipse.equinox.jsp.jasper.JspServlet.init(JspServlet.java:81)
    2. org.eclipse.equinox.http.helper.ContextPathServletAdaptor.init(ContextPathServletAdaptor.java:31)
    3. org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:64)
    4. org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:140)
    5. org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:50)
    6. org.eclipse.equinox.jsp.examples.Activator$HttpServiceTracker.addingService(Activator.java:48)
    6 frames
  6. OSGi
    ServiceTracker.open
    1. org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
    2. org.osgi.util.tracker.ServiceTracker$Tracked.trackInitialServices(ServiceTracker.java:926)
    3. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:330)
    4. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:274)
    4 frames
  7. org.eclipse.equinox
    Activator.start
    1. org.eclipse.equinox.jsp.examples.Activator.start(Activator.java:26)
    1 frame
  8. Eclipse OSGi
    BundleContextImpl$2.run
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
    1 frame
  9. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  10. Eclipse OSGi
    StartLevelManager.dispatchEvent
    1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
    2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
    3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
    4. org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
    5. org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118)
    6. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634)
    7. org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508)
    8. org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282)
    9. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468)
    9 frames
  11. Eclipse OSGi
    EventManager$EventThread.run
    1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
    2. org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297)
    2 frames