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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1
    • None
    • deployment
    • 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

            kishanthan Kishanthan Thangarajah
            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