Originally posted by William Brogden: Looks like you have a system property named "javax.xml.transform.TransformerFactory" which names a class to be used. If you remove that property it should look for a default class.
See the javadocs for javax.xml.transform.TransformerFactory
Thanks William. Actually, saxon8.jar is included in classpath. I remove it and it works!
But... how if we want to use saxon8 for some classes?? I might brake someone else code here. thanks again.
how to make it search for "default" transfomer (whatever it is) implementation?
For using the default implementation you do not need to do anything.For looking up the parser/transformer , it also consults the files present in /META-INF/services/* , If no system property or jaxp.properties is not set then this would make use of the default values.