W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 2000

Abt Setting classpath for servlets

From: Rajesh Rajamani (Trainee -VCS-India) <rrajesh@synopsys.COM>
Date: Fri, 18 Feb 2000 13:53:08 +0530
Message-ID: <38AD016B.53BF2050@india.synopsys.com>
To: jigsaw@w3.org, Jigsaw <www-jigsaw@w3.org>, arnob@synopsys.COM
Hi folks,
I am trying to write a servlet which calls certain Jini API functions.
The classpath in my workstation is set such that the JINI API functions
can be used.  But whenever, I try running a servlet, my Jigsaw server
crashes - giving error mesg -

java.lang.NoClassDefFoundError: net/jini/discovery/DiscoveryListener

The above class file is part of the Jini class library and other
programs which use these files have to be invoked like this -

java -cp $CLASSPATH My_jini_program

Is there some way in which I can get the servlets to be loaded with a
"-cp $CLASSPATH" parameter to the JVM?


Please reply ONLY to rrajesh@india.synopsys.com

Received on Friday, 18 February 2000 03:27:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:36 UTC