posted 10 years ago
Hi,
I am getting below exception while connecting to POP3 Store.I am using mail.jar in my classpath.
Below is my code to connect to POP3.
Below is the exception StackTrace i am getting.
java.lang.NoSuchMethodError: com.sun.mail.pop3.POP3Store.<init>(Ljavax/mail/Session;Ljavax/mail/URLName;Ljava/lang/String;Z)V
at com.sun.mail.pop3.POP3SSLStore.<init>(POP3SSLStore.java:53)
Please help me to resolve this exception.
Thanks.