This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XT documentation unclear ?


> I assumed that it was enough to process XSL stuff, but I get an :
> java.lang.NoClassDefFoundError: org/xml/sax/Parser
> even if if use the switch :
> -Dcom.jclark.xsl.sax.parser=com.jclark.xml.sax.CommentDriver
>
    It may be a problem of where the jar files reside.
    I had a similar problem when not running the application from the current
directory.
    I now use this script and everything is fine:

      #!/bin/sh
      JDK=/usr/local/jdk1.2.2/bin
      XT=/usr/local/xt
      exec $JDK/java -classpath $XT/sax.jar:$XT/xp.jar:$XT/xt.jar
com.jclark.xsl.sax.Driver $*

    (if you are not running on a Unix box, you can either change the script or
    run java with the full paths expanded.

Hope this help,

    Raffaele

-----------------------------------------------------
raff@aromatic.org (::) http://www.aromatic.org/~raff/
        http://www.aromatic.org/



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]