> I had myself problems of NoClassdefFound with classpath and 
> axis Ant tasks. I wrote a script with an embeded classpath 
> property like :
> 
> <axis-java2wsdl output="${service.ws.dir}/${service.wsdl}"
> location="${service.location}" 
> namespace="${service.nsmapping}" namespaceimpl="${service.nsmapping}"
> classname="${service.package}.${service.name}"
> implclass="${service.package}.${service.name}SoapBindingImpl">
>   <classpath>
>     <pathelement location="${bin.dir}" />
>     <path refid="axis.classpath" />
>     <path refid="tomcat.classpath" />
>   </classpath>
>   <mappingset>
>     <mapping namespace="${service.nsmapping}" 
> package="${service.package}" />
>   </mappingset>
> </axis-java2wsdl>

I have duplicated your task above, setting the appropriate properties to
match my service. I have included an embedded classpath which points to the
directory the classes are compiled into, and yet I still get a
ClassNotFoundException. Any other ideas?

Thanks,

-- 
Anthony Roy.



> -----Original Message-----
> From: Arnaud Vezain [mailto:[EMAIL PROTECTED] 
> Sent: 02 August 2004 13:28
> To: [EMAIL PROTECTED]
> Subject: RE: Java2WSDL via Ant - cannot get it to work!
> 
> 
> Is your build script to the root of your projet ?  If it 
> isn't, have you changed the basedir property of the <project> 
> element to point the root of your project.
> 
> I had myself problems of NoClassdefFound with classpath and 
> axis Ant tasks. I wrote a script with an embeded classpath 
> property like :
> 
> <axis-java2wsdl output="${service.ws.dir}/${service.wsdl}"
> location="${service.location}" 
> namespace="${service.nsmapping}" namespaceimpl="${service.nsmapping}"
> classname="${service.package}.${service.name}"
> implclass="${service.package}.${service.name}SoapBindingImpl">
>   <classpath>
>     <pathelement location="${bin.dir}" />
>     <path refid="axis.classpath" />
>     <path refid="tomcat.classpath" />
>   </classpath>
>   <mappingset>
>     <mapping namespace="${service.nsmapping}" 
> package="${service.package}" />
>   </mappingset>
> </axis-java2wsdl>
> 
> It works for me.
> 
> 
> 
> 
> 


**************************************************************************

Experience the British Library online at www.bl.uk 

Help the British Library conserve the world's knowledge. Adopt a Book.
www.bl.uk/adoptabook 

*************************************************************************

The information contained in this e-mail is confidential and may be legally
privileged. It is intended for the addressee(s) only. If you are not the
intended recipient, please delete this e-mail and notify the
[EMAIL PROTECTED] : The contents of this e-mail must not be disclosed or
copied without the sender's consent. 

The statements and opinions expressed in this message are those of the
author and do not necessarily reflect those of the British Library. The
British Library does not take any responsibility for the views of the
author. 

************************************************************************* 

Reply via email to