java.lang.NoClassDefFoundError: javax.activation.DataHandler

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user2626734
, 9 months ago
javax.activation.DataHandler
via Stack Overflow by Prometheus
, 2 years ago
via Stack Overflow by boyapati
, 2 years ago
via Stack Overflow by Hicham Fouad
, 1 year ago
javax.activation.DataHandler
java.lang.NoClassDefFoundError: javax.activation.DataHandler
at javax.mail.internet.MimeMessage.setContent(MimeMessage.java:1516)
at javax.mail.internet.MimeBodyPart.setText(MimeBodyPart.java:1183)
at javax.mail.internet.MimeMessage.setText(MimeMessage.java:1555)
at javax.mail.internet.MimeMessage.setText(MimeMessage.java:1539)
at com.sr116.art_buzz.SignUpDialog$2.onClick(SignUpDialog.java:68)
at android.view.View.performClick(View.java:4633)
at android.view.View$PerformClick.run(View.java:19330)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.