Project

Profile

Help

Error running Saxon 9.0 Java version

Added by Anonymous over 16 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!


Replies (2)

RE: Error running Saxon 9.0 Java version - Added by Anonymous over 16 years ago

Legacy ID: #4615090 Legacy Poster: Michael Kay (mhkay)

This error means that the file saxon9.jar is not on your classpath.

RE: Error running Saxon 9.0 Java version - Added by Anonymous over 16 years ago

Legacy ID: #4615123 Legacy Poster: pvallone (pvallone)

Ahh.. thanks. That did the trick.

    (1-2/2)

    Please register to reply