java.lang.NoClassDefFoundError: com/sun/mail/util/PropUtil [java]

Oracle Community | 843834 | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Facing problem in reading mail from IMAP server

    Oracle Community | 8 years ago | 843834
    java.lang.NoClassDefFoundError: com/sun/mail/util/PropUtil [java]

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      com/sun/mail/util/PropUtil [java]

      at com.javaMailSamples.ReadIMAPMail.<init>()
    2. com.javaMailSamples
      ReadIMAPMail.<init>
      1. com.javaMailSamples.ReadIMAPMail.<init>(ReadIMAPMail.java:26)
      1 frame
    3. JavaMail API (compat)
      IMAPStore.<init>
      1. com.sun.mail.imap.IMAPStore.<init>(IMAPStore.java:405)
      1 frame
    4. com.javaMailSamples
      ReadIMAPMail.main
      1. com.javaMailSamples.ReadIMAPMail.main(ReadIMAPMail.java:191)
      1 frame
    5. JavaMail API (compat)
      IMAPSSLStore.<init>
      1. com.sun.mail.imap.IMAPSSLStore.<init>(IMAPSSLStore.java:52)
      1 frame