Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SMTPAppender Error  RSS feed

Sirish Kumar Gongal Reddy
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am tying to email my webapplication log file whenever i my log file is populated with ERROR and FATAL messages. But i am getting the follwing errors,
My Classpath containing: mail.jar (1.2 version), activation.jar. Opps but still.... :-)

java.lang.NoClassDefFoundError: org/apache/geronimo/mail/util/Base64Encoder
at javax.mail.internet.MimeMessage.setSubject(
at javax.mail.internet.MimeMessage.setSubject(
at SendEmail.postMail(
at PostEmailTest.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.intellij.rt.execution.application.AppMain.main(
Exception in thread "main"

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!