java.lang.NoClassDefFoundError: org/apache/log4j/Layout

Oracle Community | 807581 | 1 decade 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

    struts initialization error

    Oracle Community | 1 decade ago | 807581
    java.lang.NoClassDefFoundError: org/apache/log4j/Layout
  2. 0

    Getting Tomcat & Log4J working...

    Oracle Community | 1 decade ago | 843835
    java.lang.NoClassDefFoundError: org/apache/log4j/Layout
  3. 0

    Log4j in Weblogic - ClassNotFoundException please help

    Coderanch | 7 years ago | Guy Belpa
    java.lang.NoClassDefFoundError: org/apache/log4j/Category))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error after upgrading from SOA 10.1.3.1 to 10.1.4.1 (commons-loging.jar)

    Oracle Community | 6 years ago | 766411
    java.lang.NoClassDefFoundError: org/apache/log4j/Category ))
  6. 0

    Log4J and LogConfigurationException...

    Oracle Community | 10 years ago | 476231
    java.lang.NoClassDefFoundError: org/apache/log4j/Category ))

  1. andyglick 4 times, last 5 months ago
2 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/Layout

    at org.apache.commons.logging.impl.Log4jFactory.getInstance()
  2. Apache Commons Logging
    LogFactory.getLog
    1. org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140)
    2. org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:253)
    3. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:375)
    3 frames
  3. struts
    ActionServlet.<clinit>
    1. org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:375)
    1 frame
  4. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    5. java.lang.Class.newInstance0(Class.java:306)
    6. java.lang.Class.newInstance(Class.java:259)
    6 frames
  5. Glassfish Core
    Embedded.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:889)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
    5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    6. org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
    7. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    8. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
    9. org.apache.catalina.startup.Embedded.start(Embedded.java:957)
    9 frames
  6. com.iplanet.ias
    J2EERunner.confPostInit
    1. com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
    2. com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
    3. com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
    3 frames