Hi!
It should work as you have written. The problem is not the
XML parser but axis.jar itself is not found in the classpath. Check again that
you have no typos in your classpath (display it with "set AXISCLASSPATH" on the
command line).
You will need some additional jars from the axis/lib
directory like jaxrpc.jar and commons-logging.jar.
Best regards,
--
Günter
Grossberger
Consultant
Tel: +43 1 329 50 161
Software AG Austria Fax: +43 1 329 50
171
Guglgasse 7-9 GSM:
+43 676 833 29 261
1030
Wien
http://www.softwareag.com/austria
From: Shahbaz Hussain [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 13, 2005 9:56 AM
To: [email protected]
Subject: No Class Def Found ErrorThese are the Pre-requisite
I have axis installed in C:\axis-1_2_1.
My System Variables are set as AXIS_HOME =C:\axis-1_2_1
AXIS_LIB=%AXIS_HOME%\lib (Note: i dont have xml-api.jar and
xerces.jar file in the lib directory).
AXISCLASSPATH=
%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\log4j-1.2.8.jar
Tomcat is running and version is Apache Tomcat/4.1.31.
I have copied the axis directory(From the distribution ) to C:\Program
Files\Apache Group\Tomcat 4.1\webapps.
I tested this page(http://localhost:8080/axis/happyaxis.jsp) it gives
me my system details but in the XML parse location it shows unknown
location.
I invoked this command (java -cp %AXISCLASSPATH%
org.apache.axis.client.AdminClient lhttp://hussain:8080/axis/services/AdminService
deploy.wsdd ) by navigating to C:\axis-1_2_1\samples\stock directory.
On Executing this command it displays the following message .
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axis/client/AdminClient.
Please help.What i am doing wrong.Is this because i dont have the
xml-api.jar and xerces.jar file in the axis lib directory or any other
Problem.
Thanking You in Advance
Regards
Shahbaz Hussain
+91-9885478521
Yahoo! India Matrimony: Find your partner now.
