Subscribe to
Posts [Atom]


NoSuchProviderException: smtp

Monday, December 29, 2008

If you get the error:
Caused by: javax.mail.NoSuchProviderException: smtp

You most likely having a conflicting jar file. This happened to me when moving from my local machine to a Fedora Linux server. I updated the java version to Java 6. Java 6 already has java mail functionality found in the mail.jar file. Remove any jar files having to do with mail and your exception will go away.

Labels: ,


0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home