Hi!
Im new to seam, and im trying to send an e-mail, but have problem right at the start..
I created the template .xhtml (wont copy it here, because it is just the same like the one in the example)
setup the mail server in component.xml
but when i call:
renderer.render("/mainpages/email_template.xhtml");
i get the following exception:
Caused by javax.servlet.ServletException with message: "#{invoiceManager.printInvoice}:
javax.ejb.EJBTransactionRolledbackException: java.lang.LinkageError: loader constraint violation:
when resolving method "org.jboss.seam.mail.MailSession.instance()Ljavax/mail/Session;"
the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class,
org/jboss/seam/mail/ui/UIMessage, and the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) for resolved class,
org/jboss/seam/mail/MailSession, have different Class objects for the type javax/mail/Session used in the signature"
I tried to google it, but couldnt find anything that could help me..
thx for any help in advance,
gabor