java.lang.NoSuchMethodException: gnu.mail.providers.smtp.SMTPTransport.<init>(javax.mail.Session, javax.mail.URLName)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

I downgraded to spark-notebook scala 2.10 with hadoop 2.6.0 then it worked. Finally switched to Apache Drill, works like a charm for diverse datasets.

Solutions on the web

via Atlassian JIRA by Bogdan Dziedzic [Atlassian], 1 year ago
gnu.mail.providers.smtp.SMTPTransport.<init>(javax.mail.Session, javax.mail.URLName)
via Atlassian JIRA by Bogdan Dziedzic [Atlassian], 1 year ago
gnu.mail.providers.smtp.SMTPTransport.<init>(javax.mail.Session, javax.mail.URLName)
via jakarta-cactus-user by Mallikarjuna S C, 1 year ago
QServletTest.<init>(java.lang.String)
via Stack Overflow by user3367768
, 2 years ago
via Stack Overflow by Steven Stangle
, 9 months ago
com.sstangle.opCodes.Add.<init>(com.sstangle.opCodes.OpCode$OpEn)
java.lang.NoSuchMethodException: gnu.mail.providers.smtp.SMTPTransport.<init>(javax.mail.Session, javax.mail.URLName)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)

Users with the same issue

Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
25 times, 2 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.