i already have Axisclasspath = %AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar;%AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar
and now also a environmental variable classpath with the same path to jars... but i'm still getting the same error about the testclient... i'm still puzzled :S --- Xavier Renard <[EMAIL PROTECTED]> wrote: > Mees wrote: > > >The axisclasspath already directs to the axis.jar > and > >alle the other jars... so i dunno what u mean with > the > >classpath... > > > well, should be on another mailing-list this > question. > However, trying to execute your class,there is some > other classes that > need to be found and loaded (as the Service class). > In your case, they are not > found(NoClassDefFoundError) > To be found, they need to be referenced by the > environnement variable > CLASSPATH. > That's all > Be sure that your classpath contains . (for the > current directory) > So it should give something like > set > CLASSPATH=.;/path/to/whatever/jarfile/you/want;/other/jarfile > > Xavier > > > > >--- Xavier Renard <[EMAIL PROTECTED]> wrote: > > > > > >>Mees wrote: > >> > >> > >> > >>>I've set the environmental variables > AXISCLASSPATH, > >>>AXIS_LIB and AXIS_HOME. > >>>I've runned the getQuote example it worked. It > gave > >>>back 55.25 > >>> > >>>But now that I've moved on to the user guide, to > >>> > >>> > >>the > >> > >> > >>>example with the TestClient.java. > >>>It says run with the following command: > >>>java samples.userguide.example1.TestClient > >>>So I did from the dir C:\axis > >>> > >>>I tried from other dir but it won't work I keep > >>>getting this error, when i run the following > >>> > >>> > >>command > >> > >> > >>>C:\axis\java > samples.userguide.example1.TestClient > >>> > >>>--------------- > >>> > >>>Exception in thread "main" > >>>java.lang.NoClassDefFoundError: > >>>org/apache/axis/client/Service > >>> at > >>> > >>> > >>samples.userguide.example1.TestClient.main(TestClient.java:70) > >> > >> > >>>-------------------------------- > >>> > >>> > >>> > >>> > >>add it to your classpath maybe :-) > >>set CLASSPATH=%CLASSPATH%;%AXIS_LIB%\axis.jar; > >> > >>Xavier > >> > >> > >> > > > __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/