Click to See Complete Forum and Search --> : Classpath/Path Problems


london_nrg
01-24-2003, 09:55 PM
Hi,

I am trying to get Apache SOAP up and running on Tomcat under Linux. I am trying to execute one of the test files and am having the following problem:

----------
Exception in thread "main" java.lang.NoClassDefFoundError: samples/addressbook/GetAddress

Exception in thread "main" java.lang.NoClassDefFoundError: samples/addressbook/PutAddress
----------
etc.


The relevant part of the test file is here:

----------
java samples.addressbook.GetAddress http://localhost:8080/soap/servlet/rpcrouter "John B. Good"

java samples.addressbook.PutAddress http://localhost:8080/soap/servlet/rpcrouter "John Doe" 123 "Main Street" AnyTown SS 12345 800 555 1212
----------

My path & classpath is set to the following:

--------
export JAVA_HOME=~/devtools/j2sdk1.4.0/
export TOMCAT_HOME=~/devtools/jakarta-tomcat-4.1.18/
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:~/devtools/soap.jar
--------

Any ideas anyone?

mdwatts
01-25-2003, 09:39 AM
Sorry as I don't have any ideas except to try searching all their related websites for portions of those error messages.

Try the same using Google for Linux ( www.google.com/linux ).

I'll move this to the Web Serving forum in hopes that one of our members that frequents Web Serving will be able to assist you.