Hello, ## Cervi, Anthony (PCLN-NW) : Wed, 3 Nov 2004 15:46:53 -0500
CA> i've developed a web service client using axis 1.2 and got CA> everything to work both standalone and from within a tomcat CA> servlet. i've now tried to deploy my code to jboss 3.2.3 and i CA> get the following exception when calling my client code from CA> within an ejb: java.lang.NoClassDefFoundError: CA> org/apache/axis/encoding/Deserializer. i've tried putting all CA> the required jars in all of the the jboss lib folders but with no CA> luck. any ideas? thanks. I am not sure about JBoss, but when I worked with IBM WebSphere it sometimes helped me to solve NoClassDefFoundError problem when I put links to Axis jars into the MANIFEST.MF of appropriate EJB jar. It looked like: === cut MANIFEST.MF === Manifest-Version: 1.0 Class-Path: axis.jar commons-discovery.jar jaxrpc.jar onion-common.jar onion-dime.jar saaj.jar wsdl4j.jar === cut MANIFEST.MF === Of course Axis jars must be in you ear. Regards, Egor Pervuninski