W3C home > Mailing lists > Public > public-rdf-tap@w3.org > December 2002

Re: missing Java classes

From: Rob McCool <robm@robm.com>
Date: Sat, 28 Dec 2002 21:26:23 -0800
To: "Richard H. McCullough" <rhm@cdepot.net>
Cc: public-rdf-tap@w3.org
Message-ID: <20021228212623.A25979@flapjack.stanford.edu>

> I installed the Sun Java 2 SDK on my Linux & WinXP Pro machines.
> Everything I run aborts with the same error message.  For example:
> 
> $ java kbx
> Exception in thread "main" java.lang.NoClassDefFoundError: edu/stanford/TAP/ClientCallback
> 
> $ java ex9
> Exception in thread "main" java.lang.NoClassDefFoundError: edu/stanford/TAP/Abbrev
>         at ex9.main(ex9.java:11)

Have you put tap.jar in your classpath? As in:

$ java -classpath ./tap.jar ex9
Received on Sunday, 29 December 2002 03:19:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 02:45:11 GMT