Shreshth,

You've probably got conflicting versions of the java mail api jar on
the classpath.

Jan

On 26 May 2014 11:40, shreshth wadhwa <[email protected]> wrote:
> Hi,
>
> We have a web application running on Jetty 8 with Comet 2.7. Now we upgraded
> the Jetty to Jetty 9.0.7. We are facing an issue now that we are unable to
> send emails through our application.
>
>
>
> If we move our application back to Jetty 8 the problem is solved.
>
>
>
> The JDK version we are using is jdk1.7.0_51
>
>
>
> We are getting the following error in the logs.
>
>
>
> Caused by: java.lang.NoSuchMethodError:
> javax.mail.Session.getInstance(Ljava/util/Properties;)Ljavax/mail/Session;
>
>             at
> org.springframework.mail.javamail.JavaMailSenderImpl.getSession(JavaMailSenderImpl.java:155)
>
>             at
> org.springframework.mail.javamail.JavaMailSenderImpl.createMimeMessage(JavaMailSenderImpl.java:325)
>
>
>
>
>
> Please help me in this regard.
>
> Thanks,
> Shreshth
>
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>



-- 
Jan Bartel <[email protected]>
www.webtide.com
'Expert Jetty/CometD developer,production,operations advice'
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to