Error running Saxon 9.0 Java version
Replies (2)
Please register to reply
Added by Anonymous about 17 years ago
Legacy ID: #4615026 Legacy Poster: pvallone (pvallone)
Hi, I am receiving this error when runnning an xslt transformation from the command line: "Exemption in thread "main" java.lang.NoClassDefFoundError: net/sf/saxon/Transform" I use this line with arguments: "java net.sf.saxon.Transform -s:file:///C:/temp/myXMLfile.xml -xsl:file:///C:/temp/MyXSLT.xslt -o:output.html" When I transform the XML with SAXON 9.0 .NET it works. What am I doing wrong? Thanks!
Legacy ID: #4615090 Legacy Poster: Michael Kay (mhkay)
This error means that the file saxon9.jar is not on your classpath.
Legacy ID: #4615123 Legacy Poster: pvallone (pvallone)
Ahh.. thanks. That did the trick.
Please register to reply