Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream

Hi ,
I am doing sendmail.But i was got error "Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream
      at javax.mail.Session.loadProvidersFromStream(Session.java:928)
      at javax.mail.Session.access$000(Session.java:174)
      at javax.mail.Session$1.load(Session.java:870)
      at javax.mail.Session.loadResource(Session.java:1084)
      at javax.mail.Session.loadProviders(Session.java:889)
      at javax.mail.Session.<init>(Session.java:210)
      at javax.mail.Session.getDefaultInstance(Session.java:299)
      at com.kidsarthritis.action.MailClient.sendMail(MailClient.java:22)
      at com.kidsarthritis.action.MailClient.main(MailClient.java:85)
Like this..please help me.How to resolve this error.

201407-LO-Qu-007

Exclusive Offer

Unlock Premium Membership for 33% off today.

Get This Offer

Includes 30-day free trial.

Related Questions Need more help?
We have over 4 million solutions here.

See More J2EE Solutions

Deeper J2EE LearningDevelop your expertise with tips, tricks and how to expert articles.

See More J2EE Articles

Skill Training Video TutorialsExpand your tech skills quickly with five-minute, instructional videos.

See More Programming Videos

Experts Exchange powers the growth and success
of technology professionals worldwide.

  • Solve

    Experts Exchange is the tech professional’s trusted, on-demand resource for solving difficult problems, making informed decisions, and delivering excellent solutions.

  • Learn

    With unparalleled access to technical experts, verified real-world solutions, and diverse educational content, Experts Exchange enables personalized development of technology skills.

  • Network

    Experts Exchange gives you the professional exposure and valued relationships key to building the career you want.

Join the Network Today

See Plans and Pricing