java.lang.NoSuchMethodError: org.w3c.dom.Document.setDocumentURI
- by mike00000888
I am getting a NoSuchMethodError error for org.w3c.dom.Document.setDocumentURI. This is strange, as I have rt.jar in the JAVA_HOME path.
I am creating a web service using CXF, and the error seem to be coming out of CXF:
java.lang.NoSuchMethodError: org.w3c.dom.Document.setDocumentURI(Ljava/lang/String;)V
…