java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

Oracle Community | 807573 | 9 years 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

    Tomcat failed to start after installing the j2ee agent

    Oracle Community | 9 years ago | 807573
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/logging/LogFactory

      at org.apache.commons.modeler.Registry.<clinit>()
    2. Commons Modeler
      Registry.<clinit>
      1. org.apache.commons.modeler.Registry.<clinit>(Registry.java:86)
      1 frame
    3. Embedded GlassFish Web
      GlobalResourcesLifecycleListener.<clinit>
      1. org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:1323)
      2. org.apache.catalina.mbeans.MBeanUtils.<clinit>(MBeanUtils.java:99)
      3. org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.<clinit>(GlobalResourcesLifecycleListener.java:66)
      3 frames
    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:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    5. Glassfish Core
      Digester.startElement
      1. org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206)
      2. org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
      3. org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
      3 frames
    6. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      8. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      9. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      10. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      10 frames
    7. Glassfish Core
      Catalina.load
      1. org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
      2. org.apache.catalina.startup.Catalina.load(Catalina.java:490)
      3. org.apache.catalina.startup.Catalina.load(Catalina.java:524)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
      2 frames