• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Mail Messaging Error in Apache Soap

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pretty mysterious alright, although I think Apache SOAP comes with some mail based demos.
Bill
 
Is this the real life? Is this just fantasy? Is this a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic