title: WELD-001408 Unsatisfied dependencies when injecting EJBs that implement interfaces
body: <p>Here is the situation.  </p>
  
  <p>I've got the following interfaces:  </p>
  
  <pre><code>public interface Parent { }
  public interface ChildOne extends Parent { }
  public interface ChildTwo extends Parent { }
  </code></pre>
  
  <p>and 2 EJBs:</p>
  
  <pre><code>@Stateless
  public class FirstBean implements ChildOne { }
  
  @Stateless
  public class SecondBean implements ChildTwo { }
  </code></pre>
  
  <p>And also this <strong>CDI</strong> Bean:  </p>
  
  <pre><code>@Named
  @SessionScoped
  public class TestController implements Serializable {
  
      @Inject
      private FirstBean firstBean;
  
      @Inject
      private SecondBean secondBean;
  }
  </code></pre>
  
  <p>While trying to deploy this on Glassfish 3.1 I get the following exception:  </p>
  
  <pre><code>Exception while loading the app : WELD-001408 Unsatisfied dependencies for type [FirstBean]
  with qualifiers [@Default] at injection point [[field] @Inject private com.test.controllers.TestController.firstBean]
  org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [FirstBean] 
  with qualifiers [@Default] at injection point [[field] @Inject private com.test.controllers.TestController.firstBean]
      at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:305)
  </code></pre>
  
  <p>When both EJBs implement the <code>Parent</code> interface, the exception is the same.<br>
  Also, I tried adding qualifiers, but that didn't change anything.</p>