Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-782

DefaultMethodEndpointAdapter.JDOM_CLASS_NAME must be updated to "org.jdom2.Element"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      The class name used by the DefaultMethodEndpointAdapter to detect whether JDOM is on classpath wasn't updated to reflect the upgrade to JDOM2. This breaks the use of JDOM2 Elements for endpoint mapping. A workaround is to add the class org.jdom.Element to the classpath---either by adding the old JDOM dependency, or by just creating an empty class of that name.

        Activity

        mtopolnik Marko Topolnik created issue -
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Thanks for spotting this, it will be fixed in 2.1.1.

        Note that I did make the change in the AnnotationDrivenBeanDefinitionParser, so that <sws:annotation-driven/> will pick up JDOM 2.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Thanks for spotting this, it will be fixed in 2.1.1. Note that I did make the change in the AnnotationDrivenBeanDefinitionParser, so that <sws:annotation-driven/> will pick up JDOM 2.
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Assignee Arjen Poutsma [ arjen.poutsma ]
        Fix Version/s 2.1.1 [ 13012 ]
        Component/s Core [ 10150 ]
        Affects Version/s 2.1 GA [ 12851 ]
        Hide
        mtopolnik Marko Topolnik added a comment -

        I see. That explains why this one was missed

        Show
        mtopolnik Marko Topolnik added a comment - I see. That explains why this one was missed
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        arjen.poutsma Arjen Poutsma logged work - 26/Jun/12 12:59 AM
        • Time Spent:
          5m
           
          <No comment>
        arjen.poutsma Arjen Poutsma made changes -
        Worklog Id 29013 [ 29013 ]
        Time Spent 5m [ 300 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        4d 22h 53m 1 Arjen Poutsma 26/Jun/12 12:54 AM
        In Progress In Progress Resolved Resolved
        5m 47s 1 Arjen Poutsma 26/Jun/12 12:59 AM

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            mtopolnik Marko Topolnik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - Not Specified
              Not Specified
              Logged:
              Time Spent - 5m
              5m