[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


 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.



 Comments   
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 Sun Dec 17 19:24:32 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.