In an attempt to standardarized HackyDev machine on java 5 and tomcat 5, there is following error if you try to access build report currently:

javax.xml.transform.TransformerFactoryConfigurationError: Provider 
org.apache.xalan.processor.TransformerFactoryImpl not found

Basically, tomcat 5 suplies 2 redundent files "xercesImpl.jar and xml-apis.jar" (might not be redundent if you are using java 1.4), and overrides the default system wide property
 "javax.xml.transform.TransformerFactory"
with
"org.apache.xalan.processor.TransformerFactoryImpl".

But java 1.5 uses sun implementation of TransformerFactory.

The problem can be solved by deleting the 2 redundant xml related jar files in "tomcat\common\endorsed" directory. I'll do it tomorrow when I have physical access to HackyDevmachine.

Cheers,

Cedric


Ref:
http://forum.java.sun.com/thread.jspa?threadID=542044&tstart=135

Reply via email to