java.lang.NoClassDefFoundError

Oracle Community | 807581 | 1 decade 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

    JavaMail broken in Platform Edition ?

    Oracle Community | 1 decade ago | 807581
    java.lang.NoClassDefFoundError
  2. 0

    com/sun/activation/registries/MailcapFile not found ERROR!

    Google Groups | 2 decades ago | Vijay
    java.lang.NoClassDefFoundError: com/sun/activation/registries/MailcapFile
  3. 0

    com/sun/activation/registries/MailcapFile not found ERROR!

    Oracle Community | 2 decades ago | 3004
    java.lang.NoClassDefFoundError: com/sun/activation/registries/MailcapFile
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hi i am unable to send mail from yahoo mail id.can any one help on this?

    Oracle Community | 7 years ago | 843834
    java.lang.NoClassDefFoundError: com/sun/activation/re gistries/MailcapFile
  6. 0

    ?Help -- JavaMail1.0 gives error?

    Google Groups | 2 decades ago | Wen Gong
    java.lang.NoClassDefFoundError: javax/activation/DataHandler at javax.mail.internet.MimeMessage.getDataHandler(MimeMessage.java:980) at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:856) at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1501) at

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      No message provided

      at javax.activation.MailcapCommandMap.loadFile()
    2. Java RT
      DataHandler.getContent
      1. javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:188)
      2. javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:139)
      3. javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:55)
      4. javax.activation.DataHandler.getCommandMap(DataHandler.java:146)
      5. javax.activation.DataHandler.getDataContentHandler(DataHandler.java:578)
      6. javax.activation.DataHandler.getContent(DataHandler.java:511)
      6 frames
    3. JavaMail API
      Transport.send
      1. javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1020)
      2. javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1841)
      3. javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1822)
      4. javax.mail.Transport.send(Transport.java:80)
      4 frames