You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Christophe Bouhier (ECM)" <Ch...@ecm.ericsson.se> on 2002/07/03 12:13:05 UTC

RE: SOAP=> java.lang.NoClassDefFoundError: javax/mail/MessagingE xception

Hi, 

I am currently working on a SOAP servlet, and using different clients to 
send SOAP messages like J2SE and a servlet client. 

On the server side I use the JWSDP (which includes tomcat) from sun, which contains nice examples aswell as 
an excellent tutorial. 

The best way I think, is to let your IDE build the classpath. Just add all the .jar files
in the JAXM directory to your classpath will help aswell. If you use JWSDP you can also find the files
in C:\jwsdp-1_0-ea2\common\lib (early access 2 release). 

Is your client a j2se client? more details on your setup would help. 

Cheers / Christophe


-----Original Message-----
From: staginfo-ar@cristal-union.fr [mailto:staginfo-ar@cristal-union.fr]
Sent: Wednesday, July 03, 2002 5:46 PM
To: tomcat-user@jakarta.apache.org
Subject: SOAP=> java.lang.NoClassDefFoundError:
javax/mail/MessagingException 


Hi,

I'm working with TOMCAT4 and SOAP on win 2000 PRO.TOMCAT works perfectly. I
can deploy SOAP but when I want to use a service, I have an error when
executing:
      java.lang.NoClassDefFoundError: javax/mail/MessagingException
      at Client.main(Client.java:9)
      Exception in thread "main"

I think my CLASSPATH is good ( mail.jar is including...).
I really don't know what happend! hELP

Thanks

Jean-Christophe
FRANCE


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>