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?
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?