title: Spring boot DI not working for scala typeclass
body: <p>Spring boot DI not working for scala typeclass. Throwing <code>NoSuchBeanException</code>. I am using spring 4.3.13 and spring boot version 1.5.9</p>
  
  <p>This is pseudo code snippet for reference:</p>
  
  <pre><code>trait Repo[T]
  
  @Repository
  class RedisRepo @Autowired()(redis: RedisClient) extends Repo[Event]
  
  
  class RedisDao @Autowired()(repo: Repo[Event])
  </code></pre>
  
  <p>I have also tried using <code>@Qualifier</code> for the constructor parameter in <code>RedisDao</code> class. However, its also not working.</p>
  
  <p>Thanks.</p>