Hi all, I'm transforming xml into pdf files, but getting this strange error in my log. (tomcat 8.0.26)
The resource path [file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.0/] is not valid Here is my code //Setup sources StreamSource xmlSrc = new StreamSource(new URL(rootUrl + "/output/xml/" + xml).openStream()); StreamSource xsltSrc = new StreamSource(new URL(rootUrl + "/output/xslt/" + xslt).openStream()); //Setup the XSL transformation Transformer transformer = this.transFactory.newTransformer(xsltSrc); //error out transformer.setURIResolver(this.uriResolver); XML & XSLT file are not stored locally, so I don't understand why it's looking at the tomcat folder? Cheers, Chen