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

Oracle Community | 807581 | 10 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

    PROBLEM WITH SJSAS9.0

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

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      org/apache/commons/logging/LogFactory

      at org.apache.shale.remoting.faces.MappingsHelper.log()
    2. org.apache.shale
      XhtmlHelper.linkStylesheet
      1. org.apache.shale.remoting.faces.MappingsHelper.log(MappingsHelper.java:281)
      2. org.apache.shale.remoting.faces.MappingsHelper.createMappings(MappingsHelper.java:202)
      3. org.apache.shale.remoting.faces.MappingsHelper.getMappings(MappingsHelper.java:85)
      4. org.apache.shale.remoting.XhtmlHelper.mapResourceId(XhtmlHelper.java:210)
      5. org.apache.shale.remoting.XhtmlHelper.linkStylesheet(XhtmlHelper.java:164)
      5 frames
    3. com.sun.j2ee
      ProgressBarRenderer.encodeBegin
      1. com.sun.j2ee.blueprints.ui.progressbar.ProgressBarRenderer.encodeBegin(ProgressBarRenderer.java:172)
      1 frame
    4. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
      4. javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
      5. javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
      6. javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
      7. javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
      7 frames
    5. JSF
      ViewHandlerImpl.renderView
      1. com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
      2. com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
      2 frames
    6. com.sun.rave
      ViewHandlerImpl.renderView
      1. com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
      1 frame
    7. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
      2. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
      3 frames
    8. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      1 frame
    9. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
      2. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      3. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
      3 frames
    10. com.sun.rave
      UploadFilter.doFilter
      1. com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:198)
      1 frame
    11. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
      4. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      6. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
      8. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      8 frames
    12. Glassfish
      WebPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
      1 frame
    13. Glassfish Core
      StandardPipeline.doInvoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
      2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      2 frames
    14. Glassfish
      VirtualServerPipeline.invoke
      1. com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
      1 frame
    15. Glassfish Core
      ContainerBase.invoke
      1. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
      3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
      4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
      5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
      5 frames
    16. org.apache.coyote
      CoyoteAdapter.service
      1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
      1 frame
    17. Glassfish Core
      WorkerThread.run
      1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
      2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
      3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
      4. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
      5. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
      6. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
      7. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
      7 frames