[SWS-782] DefaultMethodEndpointAdapter.JDOM_CLASS_NAME must be updated to "org.jdom2.Element" Created: 21/Jun/12  Updated: 26/Jun/12  Resolved: 26/Jun/12

Status: Resolved
Project: Spring Web Services
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Bug Priority: Major
Reporter: Marko Topolnik Assignee: Arjen Poutsma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 5m
Original Estimate: Not Specified


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.

Comment by Arjen Poutsma [ 21/Jun/12 ]

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.

Comment by Marko Topolnik [ 21/Jun/12 ]

I see. That explains why this one was missed

Generated at Sat Oct 20 19:06:55 UTC 2018 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.