[seam-issues] [JBoss JIRA] (SEAMMAIL-37) Preventing FreeMarker and Velocity from being installed
Thomas Güldner (JIRA)
jira-events at lists.jboss.org
Mon Jul 30 04:52:07 EDT 2012
Thomas Güldner created SEAMMAIL-37:
--------------------------------------
Summary: Preventing FreeMarker and Velocity from being installed
Key: SEAMMAIL-37
URL: https://issues.jboss.org/browse/SEAMMAIL-37
Project: Seam Mail
Issue Type: Bug
Components: templating
Affects Versions: 3.1.1.Final
Reporter: Thomas Güldner
I've packaged SeamMail into an ear. Loaging my ejb-jar and SeamMail rises some exceptions like
{code}
Caused by: org.jboss.weld.resources.spi.ResourceLoadingException: Error .oading class org.jboss.seam.mail.templating.freemarker.FreeMarkerTemplate
{code}
These exceptions are only info. The deployment doesn't fail but the messages are not good.
Is there a way to prevent FreemarkerTemplate to be installed? I've tryed to exclude the class using _weld:exluce_ in my beans.xml but doesn't work.
It would be fine if the template beans use something like the @Requires annotation or another way to look in the classpath before installing the bean.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list