javax.mail.NoSuchProviderException: imap [java]

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

Solutions on the web

javax.mail.NoSuchProviderException: imap [java]
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
at javax.mail.Session.getService(Session.java:794)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at javax.mail.Session.getStore(Session.java:579)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at javax.mail.Session.getStore(Session.java:541)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at com.javaMailSamples.Msgshow.main(Msgshow.java:65)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at com.sun.mail.imap.IMAPStore.(IMAPStore.java:392)
at com.sun.mail.imap.IMAPStore.(IMAPStore.java:379)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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