Error: Java. lang. nosuchmethoderror: javax. XML. namespace. QNAME. <init> (ljava/lang/string; ljava/lang/stringjavax. XML. namespace. the method definition of QNAME is too old, use the stax-api-1.0.1.jar and stax-utils-20040917.jar inside the Lib of XFile and delete the old javax. XML. namespace. QNAME is like jaxrpc. jar (not sure whether it is required or not, and no error is reported after being added) error: provider COM. bea. XML. stream. mxparserfactory not found javax. XML. stream. factoryconfigurationerror: provider COM. bea. XML. stream. the packages in the mxparserfactory not found class path do not have the Implementation of The Stax interface. Copy the package:
Wstx-asl-3.2.0.jar, stax-api-1.0.1.jar, stax-utils-20040917.jar
Packages required by the xfire client:
Commons-httpclient-3.0.jar
Jaxen-1.1-beta-9.jar
Jdom-1.0.jar
Stax-api-1.0.1.jar
Stax-utils-20040917.jar
Wsdl4j-1.6.1.jar
Wss4j-1.5.0.jar
Wstx-asl-3.2.0.jar
Xfire-all-1.2.4.jar
Xfire-jsr181-api-1.0-M1.jar
Xml-apis-1.0.b2.jar
XmlSchema-1.1.jar
Xmlsec-1.3.0.jar