java.lang.ClassCastException: envCtx.lookup(Mailer.url).class = javax.mail.Session

Coderanch | Garrett Smith | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ClassCastException

    Coderanch | 1 decade ago | Garrett Smith
    java.lang.ClassCastException: envCtx.lookup(Mailer.url).class = javax.mail.Session

    Root Cause Analysis

    1. java.lang.ClassCastException

      envCtx.lookup(Mailer.url).class = javax.mail.Session

      at com.dhtmlkitchen.reg.mail.Mailer.sendMail()
    2. com.dhtmlkitchen.reg
      ChangeAccount.doPost
      1. com.dhtmlkitchen.reg.mail.Mailer.sendMail(Mailer.java:110)
      2. com.dhtmlkitchen.reg.mail.Mailer.sendReminder(Mailer.java:72)
      3. com.dhtmlkitchen.reg.ChangeAccount.doPost(ChangeAccount.java:68)
      3 frames