title: Unable to initialize a reference to an interface using Spring
body: <p>I have the following code 
      @Configurable(dependencyCheck = true)
      public class KnowledgeRequestServlet extends HttpServlet {</p>
  
  <pre><code>@Autowired
  @Qualifier("logsDbDao")
  private LogsDao dao; ....
  </code></pre>
  
  <p>LogsDao is an interface which has only one method saveRequest() and when I call the same method I get a Null Pointer Exception.
  The reference gets initialized when the same code is run on the server.
  I see this problem <em>only when I try to run the code locally on my machine</em>.I think it has definitely something to do with the Spring Framework I am using. Not only this,none of my references to the Interfaces are getting initialized locally.All of them work fine on the server side.Can some tell me what is messed up.
  Thanks.</p>