Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport

    java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
    javax.activation.MailcapCommandMap.<init>(MailcapC ommandMap.java:111)
    javax.activation.CommandMap.getDefaultCommandMap(C ommandMap.java:44)
    javax.activation.DataHandler.getCommandMap(DataHan dler.java:136)
    javax.activation.DataHandler.getDataContentHandler (DataHandler.java:567)
    javax.activation.DataHandler.writeTo(DataHandler.j ava:294)
    javax.mail.internet.MimeUtility.getEncoding(MimeUt ility.java:230)
    javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1065)
    javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:1923)
    javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:1904)
    javax.mail.Transport.send(Transport.java:79)
    com.handler.EmailCommand.processTestEmail(Unknown Source)
    com.handler.EmailCommand.execute(Unknown Source)
    com.servlet.BtmAdminServlet.processRequestType(Unk nown Source)
    com.servlet.BtmAdminServlet.doPost(Unknown Source)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:768)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:861)

  2. #2
    Member
    Join Date
    Oct 2013
    Location
    United Kingdom
    Posts
    62
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default Re: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport

    Please could you explain what this thread is about?
    You have just put the stack trace, what is your question?
    Thanks and regards,
    Sambit Swain

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    6,345
    My Mood
    Mellow
    Thanks
    254
    Thanked 784 Times in 769 Posts

    Default Re: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for newcomers.

  4. #4
    Member andbin's Avatar
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    443
    Thanks
    4
    Thanked 122 Times in 114 Posts

    Default Re: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport

    Quote Originally Posted by praveen69 View Post
    java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport
    javax.activation.MailcapCommandMap.<init>(MailcapC ommandMap.java:111)
    javax.activation.CommandMap.getDefaultCommandMap(C ommandMap.java:44)
    javax.activation.DataHandler.getCommandMap(DataHan dler.java:136)
    javax.activation.DataHandler.getDataContentHandler (DataHandler.java:567)
    javax.activation.DataHandler.writeTo(DataHandler.j ava:294)
    javax.mail.internet.MimeUtility.getEncoding(MimeUt ility.java:230)
    javax.mail.internet.MimeBodyPart.updateHeaders(Mim eBodyPart.java:1065)
    javax.mail.internet.MimeMessage.updateHeaders(Mime Message.java:1923)
    javax.mail.internet.MimeMessage.saveChanges(MimeMe ssage.java:1904)
    javax.mail.Transport.send(Transport.java:79)
    The JavaMail API requires the JAF (JavaBeans Activation Framework). JAF is integrated by default in the Java SE framework only since Java SE version 6. It's possible you are using an older Java SE where there isn't the JAF (and obviously you have not downloaded and put in classpath explicitly).
    Andrea, www.andbin.net — SCJP 5 (91%) – SCWCD 5 (94%)

    Useful links for Java beginners – My new project Java Examples on Google Code

  5. The Following User Says Thank You to andbin For This Useful Post:

    GregBrannon (January 19th, 2014)

  6. #5
    Junior Member
    Join Date
    Jan 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport

    Hi
    I Have a password reset button in my application, when i click on it the following error is displayed.
    Plz suggest me soluiton.

  7. #6
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    6,345
    My Mood
    Mellow
    Thanks
    254
    Thanked 784 Times in 769 Posts

    Default Re: java.lang.NoClassDefFoundError: com/sun/activation/registries/LogSupport

    Read Post #4.

Similar Threads

  1. ain" java.lang.NoClassDefFoundError: com/sun/jna/Platform
    By shravan in forum What's Wrong With My Code?
    Replies: 0
    Last Post: September 10th, 2013, 08:52 AM
  2. Replies: 2
    Last Post: July 2nd, 2013, 05:59 PM
  3. java.lang.NoClassDefFoundError help?
    By softballfrk13608 in forum Threads
    Replies: 2
    Last Post: March 6th, 2012, 03:22 PM
  4. Java.lang.NoClassDefFoundError
    By mikedflip2006 in forum Exceptions
    Replies: 0
    Last Post: November 21st, 2011, 11:29 PM
  5. java.lang.NoClassDefFoundError
    By anonymous001 in forum What's Wrong With My Code?
    Replies: 8
    Last Post: January 26th, 2011, 04:41 PM

Tags for this Thread