Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javax.xml.transform.TransformerFactoryConfigurationError

843834Feb 11 2004 — edited Feb 11 2004
Exception 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 10 2004
Added on Feb 11 2004
9 comments
5,801 views