gauravb_98
Jun 7th, 2006, 07:52 AM
Hi when i run maven with Java 1.4 it works fine but with Java 1.5 it gives an error File not found , to resolve this I changed the properties as follows
${systemScope.setProperty('javax.xml.transform.Tra nsformerFactory','com.sun.org.apache.xalan.interna l.xsltc.trax.TransformerFactoryImpl')}
Note :-For Java 1.4 it was ${systemScope.setProperty('javax.xml.transform.Tra nsformerFactory','org.apache.xalan.processor.Trans formerFactoryImpl')}
Making this change has helped but now it fails while reading an XSLT file, what happens here is it is trying to look for an .INC file which doesn't exist , while Java 1.4 issues a warning and continue , Java 1.5 takes this as an error.
Can Anybody guide me why is this , is there any version of xalan that needs to be downloaded for 1.5
${systemScope.setProperty('javax.xml.transform.Tra nsformerFactory','com.sun.org.apache.xalan.interna l.xsltc.trax.TransformerFactoryImpl')}
Note :-For Java 1.4 it was ${systemScope.setProperty('javax.xml.transform.Tra nsformerFactory','org.apache.xalan.processor.Trans formerFactoryImpl')}
Making this change has helped but now it fails while reading an XSLT file, what happens here is it is trying to look for an .INC file which doesn't exist , while Java 1.4 issues a warning and continue , Java 1.5 takes this as an error.
Can Anybody guide me why is this , is there any version of xalan that needs to be downloaded for 1.5