Spring webservicetemplate jar conflict issue with Axis2
问题 I use Spring web services and Axis2 both in my app. They are completely independent and it works great, except that Spring WebServiceTemplate started throwing the exception below.. I suspect it's happening because Spring requires saaj.jar (which has javax.xml.soap.SOAPElement) and Axis2 requires axiom-dom.jar (which has org.apache.axiom.om.impl.dom.ElementImpl) Both the interfaces extend org.w3c.dom.Element and somehow Spring in picking up the one from axiom-dom.jar Any ideas as to what i can