• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Mail Messaging Error in Apache Soap

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been trying to execute a Client code on Tomcat Apache 4.0 The program that I have written just supplies a string to the method which reformats it and sends it back. Everytime I want to run the java file I get the following exception
Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/MessagingException
Actually the compiler is not recognising the Call class from the Soap.jar.
How can I work around this problem?
Is there configuration that I have missed.
Please get back asap
Shel
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The java mail API where the javax.mail package lives is separate from the SOAP API, you need several jars that come with the JavaMail download and the activation.jar
Bill
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx for the suggestion, but I would want to know how exactly does a javamail exception case arise when we are working in SOAP.
I do not have any of the jars of Javamail as of now so I will place them in the specific directory and see if it works out.
do get back asap
Thanx
Shel
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pretty mysterious alright, although I think Apache SOAP comes with some mail based demos.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!