RE: java classes

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: James Newsome (jnewsome@ece.cmu.edu)
Date: 02/01/03


Ahhh, I didn't notice the CLASSPATH set in the makefile. I set the
CLASSPATH for my shell to the one in the makefile (plus the current
directory) and that works.

Thanks,

Jim

On Sat, 1 Feb 2003, Suman Nath wrote:

>
> Ohh... The change should be made in the Makefile.
>
> -----Original Message-----
> From: owner-irisnet-course@intel-iris.net
> [mailto:owner-irisnet-course@intel-iris.net]On Behalf Of Suman Nath
> Sent: Saturday, February 01, 2003 12:17 AM
> To: irisnet-course@intel-iris.net
> Subject: RE: java classes
>
>
>
> You need to run the CannedQueries from the
> $IRISNET/Applications/parking/UserInterface, using "make cannedqueries".
>
> You also need to add the current directory in the CLASSPATH. Right now
> CLASSPATH is set to:
> CLASSPATH=$(IRIS)/src/:$(LIB-JAVA)/xmldb.jar:....
>
> change it to..
> CLASSPATH=.:$(IRIS)/src/:$(LIB-JAVA)/xmldb.jar:..
>
> It should work now.
>
> -----Original Message-----
> From: owner-irisnet-course@intel-iris.net
> [mailto:owner-irisnet-course@intel-iris.net]On Behalf Of James Newsome
> Sent: Friday, January 31, 2003 8:56 PM
> To: irisnet-course@intel-iris.net
> Subject: java classes
>
>
> I'm trying to get CannedQueries.java to work. When I run it I
> get the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/w3c/dom/Node
>
> Also, I've tried commenting out the portion of the code that seems to use
> that class. When I do that, it runs. However, when I connect via the web
> browser it can't find another class:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> de/fzi/XPath/NaryExpr
> at CannedQueries.run_http_server(CannedQueries.java:121)
> at CannedQueries.main(CannedQueries.java:192)
>
> (the line numbers will be a bit off because I commented out the parking
> queries and put in my own at the top)
>
> My CLASSPATH is set to:
> /home/jnewsome/IRISNET/OA/IrisOa/classes:/home/jnewsome/IRISNET/OA/build/cla
> sses:.
>
> Where can I find the missing classes??
>
> Thanks,
>
> Jim
>
>


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.5 : 02/01/03 EST