Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5485

Axis2 v1.6.x: org.jdom.JDOMException: java.lang.NoClassDefFoundError: org/jdom/Parent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
    • Environment:
      Win-7

      Description

      The issue reported in
      https://issues.apache.org/jira/browse/GERONIMO-3894
      https://issues.apache.org/jira/browse/AXIS2-3413
      is back.

      How to reproduce:
      1. Create aar-file with jdom-1.1.jar and jaxen-1.1.1.jar
      2. Use call "XPath.newInstance(..)" in aar-file

      Discussion:
      The class loader loads axis2/WEB-INF/lib/jaxen-1.1.1.jar and failed to load missing axis2/WEB-INF/lib/jdom-1.1.jar
      The solution would be to remove axis2/WEB-INF/lib/jaxen-1.1.1.jar if it's not required for axis2 or add dependent axis2/WEB-INF/lib/jdom-1.1.jar

        Attachments

          Activity

            People

            • Assignee:
              kishanthan Kishanthan Thangarajah
              Reporter:
              gorokhmn Mark Gorokhov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified