• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting Error while deploying in axis

 
Mohit Goyal
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I m gettin the following error when i try to deploy my webservice on Axis1.3:

>java org.apache.axis.client.AdminClient deploy.wsdd
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/transform/Source


i have all the jars in my classpath..but i constantly get this error. if i just run the AdminClient it's running fine and displays all the options.
need urgent help with this

thanx
Mohit
SCJP 1.4
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which version of the JDK are you using? I think the javax.xml.transform package was added in JDK 1.4, so if you're using an earlier version you'd have to add a JAXP library that has those classes.
 
Mohit Goyal
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks fr the reply..problem got solved..

i already had jdk1.4.2

actually i needed to include xml-apis.jar in my classpath... this file is under %tomcatinstallationdir%\common\endorsed.

Thanks neways...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!