[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-8563) Alternative being not being recognized as so.
José Freitas (JIRA)
jira-events at lists.jboss.org
Fri Mar 11 07:49:45 EST 2011
[ https://issues.jboss.org/browse/JBIDE-8563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
José Freitas updated JBIDE-8563:
--------------------------------
Workaround Description: there's no need for a workaround since the app runs fine.
> Alternative being not being recognized as so.
> ---------------------------------------------
>
> Key: JBIDE-8563
> URL: https://issues.jboss.org/browse/JBIDE-8563
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi (jsr-299)
> Affects Versions: 3.2.0.Final
> Reporter: José Freitas
> Assignee: Alexey Kazakov
> Priority: Minor
> Labels: alternative, cdi
>
> the problem occurs on
> booking example:
> https://github.com/seam/examples/
> declaring on WEB-INF/beans.xml
> {code}
> <alternatives>
> <class>org.jboss.seam.examples.booking.bootstrap.ApplicationInitializer</class>
> </alternatives>
> {code}
> gives me the error check:
> {code}
> <class> element must specify the name of an alternative bean class [JSR-299 §5.1.1]
> {code}
> but the class is declared as an Alternative
> {code}
> @Alternative
> public class ApplicationInitializer{
> ...
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list