Uploaded image for project: 'Commons Logging'
  1. Commons Logging
  2. LOGGING-141

Getting NoClassDefFoundError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 1.1.1
    • 1.1.1
    • Weblogic 8, DWR2.0, Java 1.4/1.5, WindowsXP

    Description

      Getting the following exception while implementing DWR2.0 to the existing application. The commons-logging.jar is there in the classpath, but still, facing this issue.

      java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
      at org.directwebremoting.dwrp.PollHandler.<clinit>(PollHandler.java:443)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at org.directwebremoting.impl.ContainerUtil.class$(ContainerUtil.java:97)
      at org.directwebremoting.impl.ContainerUtil.setupDefaults(ContainerUtil.java:150)
      at org.directwebremoting.impl.ContainerUtil.setupDefaultContainer(ContainerUtil.java:125)
      at org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:73)
      at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1028)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904)
      at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883)
      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
      at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
      at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
      at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
      at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
      at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

      Please let me know the possible solution as soon as possible. its blocking the work flow for the past two days.

      Attachments

        Activity

          People

            Unassigned Unassigned
            palani12kumar Palani Kumar Pounraj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: