Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8563

Alternative being not being recognized as so.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.3.0.Beta1
    • 3.2.0.Final
    • cdi
    • Hide

      cleaning the project make the error disappear

      Show
      cleaning the project make the error disappear

    Description

      the problem occurs on
      booking example:
      https://github.com/seam/examples/

      declaring on WEB-INF/beans.xml

         <alternatives>
            <class&gt;org.jboss.seam.examples.booking.bootstrap.ApplicationInitializer</class&gt;
         </alternatives>
      

      gives me the error check:

      <class&gt; element must specify the name of an alternative bean class [JSR-299 §5.1.1]
      

      but the class is declared as an Alternative

      @Alternative
      public class ApplicationInitializer{
      ...
      

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            spinner_jira José Freitas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: