could not find main class GmailIMAPTest
HI ALL
currently i'm working on workflow notification mailer
im following this link https://blogs.oracle.com/oracleworkflow/entry/using_gmail_smtp_and_imap
i have done all the steps but when coming to IMAP and SMTP connection i'm facing issues
when i try to run the program to check the imap and smpt connections i'm getting following error:
[applapp@ebsapp ~]$ java GmailIMAPTest
Exception in thread "main" java.lang.NoClassDefFoundError: GmailIMAPTest
Caused by: java.lang.ClassNotFoundException: GmailIMAPTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)