javax.xml.transform.TransformerFactoryConfigurationError
843834Feb 11 2004 — edited Feb 11 2004Exception in thread "main" javax.xml.transform.TransformerFactoryConfigurationError: Factory class com.icl.saxon.TransformerFactoryImpl not found
I got this exception in the following code:
// Serialize the document onto System.out
TransformerFactory xformFactory = TransformerFactory.newInstance();
Transformer idTransform = xformFactory.newTransformer();
Source input = new DOMSource(doc);
Result output = new StreamResult(System.out);
idTransform.transform(input, output);
according to API(1.4.2 SE), I can specify the TransformerFactory in jre/lib/jaxp.properties, but i can't find the file, so i think "com.icl.saxon.TransformerFactoryImpl " is defualt value. Can anyone help me to solve this problem?
Thanks