| Author |
Axis1.4: Jar file issue with Webservice Client call
|
Anand Bhatt
Ranch Hand
Joined: May 30, 2007
Posts: 187
|
|
Hi,
I am using Axis1.4 and all the required jars:
"${lib.dir}/axis.jar ${lib.dir}/axis-ant.jar ${lib.dir}/commons-discovery-0.2.jar ${lib.dir}/commons-logging-1.0.4.jar ${lib.dir}/jaxrpc.jar ${lib.dir}/log4j-1.2.8.jar ${lib.dir}/saaj.jar ${lib.dir}/wsdl4j-1.5.1.jar "
are in my classpath. I have generated Websrvice Client and packaged the code as an executable in jar file. Now when I am running like: java -jar <XYZ.jar> I am getting below stact trace:
The jar file required for clas 'javax/xml/rpc/Service' is in my class path(jar file name: jaxrpc.jar). Any suggestion please.
|
 |
Anand Bhatt
Ranch Hand
Joined: May 30, 2007
Posts: 187
|
|
|
Any one having any idea on this please?
|
 |
Siitesh Hind
Ranch Hand
Joined: Sep 06, 2012
Posts: 51
|
|
Does your local jar have the required jaxrpc.jar?
How are you referring to the Service class while running the code?
|
 |
Anand Bhatt
Ranch Hand
Joined: May 30, 2007
Posts: 187
|
|
|
Yes , jaxrpc.jar is in my lib folder which is in my classpath.
|
 |
Siitesh Hind
Ranch Hand
Joined: Sep 06, 2012
Posts: 51
|
|
I believe you are getting a runtime exception while running the XYZ.jar which is what I meant.
Try with running the example with -classpath and state all the jars that you have referred
|
 |
Anand Bhatt
Ranch Hand
Joined: May 30, 2007
Posts: 187
|
|
|
Thanks It resolved now. Included the required jar in runtime.
|
 |
 |
|
|
subject: Axis1.4: Jar file issue with Webservice Client call
|
|
|