[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-8563) Alternative being not being recognized as so.

José Freitas (JIRA) jira-events at lists.jboss.org
Fri Mar 11 07:45:46 EST 2011


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


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