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

        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.
        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

          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