Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SMTPAppender Error

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"

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic