Hi,
I am setting class path for the Axis webservices framework.This is how I have set the paths :
But now I am getting this exception
while running this command :
The strange thing which is happening here is, that it is replacing all the "."(dots) with "/"(forward slash). How can I solve this problem.
Thanks in advance.
I am setting class path for the Axis webservices framework.This is how I have set the paths :
Code:
AXIS_HOME : C:\axis AXIS_LIB : %AXIS_HOME%\lib AXISCLASSPATH : %AXIS_LIB%\axis.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\axis-schema.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar;%AXIS_LIB%\activation.jar; CLASSPATH : .;%JAVA_HOME%\lib\tools.jar;C:\new folder\mysql-connector-java-5.0.4-bin.jar;C:\Documents and Settings\amitkumar.m\My Documents\New Folder\jfreechart-1.0.6\lib\jfreechart-1.0.6.jar;C:\Documents and Settings\amitkumar.m\My Documents\New Folder\jfreechart-1.0.6\lib\jcommon-1.0.10.jar;C:\New Folder\javacsv.jar;%AXISCLASSPATH%;.;
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: ;C:\axis\lib\xercesIm pl/jar;C:\axis\lib\activation/jar;C:\axis\lib\axis-ant/jar;C:\axis\lib\wsdl4j-1/ 5/1/jar;C:\axis\lib\axis-schema/jar;
Code:
C:\axis\samples\stock>java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClien t -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
Thanks in advance.