title: Integrating Jhipster and Cucumber-JVM
body: <p>I am trying to integrate JHipster with Cucumber, that is: I want to write my tests using Gerkin DSL and execute it using Cucumber-JVM. I did good progress but now I am blocked with the following error message:</p>
  
  <p><em>No qualifying bean of type [javax.persistence.EntityManagerFactory] is defined</em></p>
  
  <p>It seems all my beans are found by Cucumber-JVM, but I don't know why this bean not. I suspect it can be related to the way Jhispter is managing application configuration.
  Cucumber-JVM has spring support in its configuration:
  <code>
     &lt;context:component-scan base-package="com.jobvacancy"/&gt;
     &lt;context:annotation-config/&gt;
  </code></p>
  
  <p>Am I missing something? 
  Any idea how to fix this?</p>