title: Good practices on finding circular dependencies between spring beans
body: <p>I have this exception:</p>
  
  <pre><code>SEVERE: Context initialization failedorg.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'myService': Bean with name 'myService' has been injected into other beans [otherService] in its raw version as part of a circular reference, but has eventually been wrapped. This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
  </code></pre>
  
  <p>Can anyone suggest good strategies for finding where the circular dependency comes from ?</p>
  
  <p>I am currently looking through the context definition, but as you might imagine in a project of some maturity this takes quite a while.</p>
  
  <p>So I'm generally looking for ideas on quickly finding circular bean dependencies.</p>