title: "@inject"-ed attribute remains null
body: <p>I am trying to inject a service into my bean but it is always <code>null</code>.
  I get the following error: WELD-001000 Error resolving property userBean against base null.</p>
  
  <p>Some code snippets:</p>
  
  <p><strong><em>index.xhtml</em></strong></p>
  
  <pre><code>&lt;h:body&gt;
      Hello from Facelets
      #{userBean.name}
  &lt;/h:body&gt;
  </code></pre>
  
  <p><strong><em>userbean.java</em></strong></p>
  
  <pre><code>package beans;
  
  import Domain.User;
  import java.io.Serializable;
  import javax.enterprise.context.SessionScoped;
  import javax.inject.Inject;
  import javax.inject.Named;
  import service.UserService;
  
  @Named
  @SessionScoped
  public class UserBean implements Serializable{
      @Inject UserService service;
      private User user;
  
      public UserBean(){
          this.user = service.find_user("foo");
      }
  
      public String getName(){
          return "bar";
      }
  }
  </code></pre>
  
  <p><strong><em>UserService.java</em></strong></p>
  
  <pre><code>package service;
  
  import Domain.User;
  import javax.ejb.Stateless;
  import javax.inject.Named;
  
  @Named
  @Stateless
  public class UserService {
      public UserService(){}
  
      public User find_user(String name){
          return new User();
      }
  }
  </code></pre>