This is the mail archive of the
mailing list .
- To: Jesse Goerz <jgoerz at linuxfreemail dot com>
- Subject: Re: DOCBOOK-APPS: java.lang.NoClassDefFoundError:
- From: Mark Johnson <mark at phy dot duke dot edu>
- Date: Fri, 08 Jun 2001 19:37:51 -0400
- Cc: docbook-apps at lists dot oasis-open dot org
- References: <01060817541203.00355@storm>
- Reply-to: mark at phy dot duke dot edu
Jesse Goerz writes:
> I'm working on a Debian system (partial woody) and I've
> installed all the packages from this site:
Uh oh. I hear that guy's a real hack.
> and xsltproc and the relevant dependencies out of testing.
xsltproc shouldn't be involved in what you're doing. Those package
dependencies are intentionally lax, given the rapid pace at which
things are changing lately.
> I also downloaded saxon from here:
> Before I develop the website I thought I should build the test
> website on my system.
> After downloading and viewing Mark's slides I tried to build the
> xml website with this command:
> $ java -classpath \
> /home/jesse/newbiedoc/website/downloads/saxon.jar \
> website.xml /usr/lib/sgml/stylesheet/xsl/docbook/nwalsh/website\
You're close. Really close. You simply left out the call to the actual
code that does the processing. In this case it's a java class:
The general form is usually:
$JAVA_INTERPRETER [options] $JAVA_CLASS [input to java class]
> Exception in thread "main" java.lang.NoClassDefFoundError: \
The error message means the JVM thought you were calling the class
named "website.xml", which it couldn't find.
$ java -classpath \
com.icl.saxon.StyleSheet website.xml \
Try using the chunk-tabular.xsl stylesheet, instead of website.xsl, it
has fancier output.
BTW, if you install the saxon-catalog package from the dulug site, you
get catalog support and a cheezy script that shows you the command you
need to call saxon.
Lemme know if you have any more problems -- I've experienced most of
Duke Physics <email@example.com>
Debian SGML <firstname.lastname@example.org>
Home Page: <http://dulug.duke.edu/~mark/>
GPG fp: 50DF A22D 5119 3485 E9E4 89B2 BCBC B2C8 2BE2 FE81