Geronimo
  1. Geronimo
  2. GERONIMO-3894

java.lang.NoClassDefFoundError: org/jdom/Parent using JDOM 1.0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Component/s: core, webservices
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      OS : windows 2003

      Description

      We've got a problem using jDOM 1.0 with geronimo 2.0.1.

      Just using the following method : XPath.newInstance(String) we encounter the following error message.

      Caused by: java.lang.NoClassDefFoundError: org/jdom/Parent
      at org.jaxen.jdom.JDOMXPath.(JDOMXPath.java:91)
      at org.jdom.xpath.JaxenXPath.setXPath(JaxenXPath.java:281)
      at org.jdom.xpath.JaxenXPath.(JaxenXPath.java:99)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at org.jdom.xpath.XPath.newInstance(XPath.java:137)

      The class Parent is present in the jdom jar which is located in the lib directory of our web application. (Such as the jaxen beta 9 jar)

      We have seen on JIRA that there is a similar problem :

      AXIS2-3413 : Cannot use JDOM within Axis2 (java.lang.NoClassDefFoundError: org/jdom/Parent)

      But don't really understand which solution is to be applied.

      There is obviously a conflict with jaxen jar but what should we do exactly?

      There are no Sub-Tasks for this issue.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jean-Jacques Parent
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development