java.lang.NoSuchMethodError with JBOSS 4.0.2
Using spring ws 1.5.5, when I load my WSDL, using:
Code:
<bean id="serviceName" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
<property name="schema" ref="WebDVRServiceSchema" />
<property name="portTypeName" value="serviceNamed" />
<property name="locationUri" value="http://localhost:8080/service/" />
</bean>
I get the following error:
Code:
java.lang.NoSuchMethodError: org.w3c.dom.Document.getDocumentURI()Ljava/lang/String;
org.springframework.ws.transport.http.LastModifiedHelper.getLastModified(LastModifiedHelper.java:50)
org.springframework.ws.transport.http.WsdlDefinitionHandlerAdapter.getLastModified(WsdlDefinitionHandlerAdapter.java:113)
org.springframework.ws.transport.http.MessageDispatcherServlet.getLastModified(MessageDispatcherServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
I think this is a classloader issue with JBOSS, using the wrong xml-apis library. Has anyone else had this issue or advice how to solve it?