3 Replies Latest reply on Mar 2, 2011 8:26 PM by David Faulstich

    Problem: @In Actor actor doesn't inject on 2.0.1

    Rodrigo Yoshima Newbie

      Hi people,


      I've just migrated my 1.2.1.GA to a brand new seam 2.0.1 project (WAR).


      After all initial setup and package adjustments I've a weird problem on authenticator bean. It's trivial:


      @AutoCreate
      @Name(authenticator)


      public class Authenticator implements Serializable {
             
              @Logger
              Log log;


              @In
              FacesMessages facesMessages;


              @In
              UsuarioDAO usuarioDAO;


              @In
              Identity identity;
             
              @In
              Actor actor;


              // autenticate method etc..
      }


      The weird problem is that 2.0.1 doesn't inject actor instance and gives me:


      @In attribute requires non-null value: authenticator.actor


      Any hints?