title: Unsatisfied dependencies for type X with qualifiers @Default
body: <p>I'm trying to inject an object of a given type (<code>Greeter</code>) on an EJB running inside Wildfly 8.2. However, the deployment always fails with the message</p>
  
  <pre><code>Unsatisfied dependencies for type Greeter with qualifiers @Default
  </code></pre>
  
  <p>I tried to annotate both the <code>GreeterImpl</code> and the injection point with <code>@Default</code> but that didn't also work. Am I missing something here?</p>
  
  <p>My <code>Greeter</code> interface:</p>
  
  <pre><code>public interface Greeter {
      public void sayHi();
  }
  </code></pre>
  
  <p>My <code>GreeterImpl</code> class (the only one that implements <code>Greeter</code>):</p>
  
  <pre><code>public class GreeterImpl implements Greeter {
      private static final Logger LOGGER = LoggerFactory.getLogger(GreeterImpl.class);
  
      @Override
      public void sayHi() {
          LOGGER.info("Hi!");
      }
  }
  </code></pre>
  
  <p>My <code>ScheduledGreeter</code> EJB:</p>
  
  <pre><code>@Stateless
  public class ScheduledGreeter {
      @Inject
      private Greeter greeter;
  
      @Schedule(second = "*/15", minute = "*", hour = "*")
      public void sayHi() {
          greeter.sayHi();
      }
  }
  </code></pre>
  
  <p>Am I missing something about CDI here? Do I need a <code>beans.xml</code> at <code>META-INF</code> for this to work?</p>
  
  <p><em>Edit:</em> <strong>I'm deploying this as <code>war</code> to Wildfly, if that even matters.</strong></p>