title: Spring Boot 1.5.1 and "The dependencies of some of the beans in the application context form a cycle"
body: <p>A couple of weeks ago, I upgraded the version of Spring from to 1.4.x.RELEASE to 1.5.1.RELEASE.</p>
  
  <p>Suddenly it has become a fight to start my Spring Boot service due this error:</p>
  
  <p>"The dependencies of some of the beans in the application context form a cycle"</p>
  
  <p>Same code, different version</p>
  
  <p>It's quite funny, since on my local env (OSX) the same code is usually starting fine, but on Heroku is failing randomly on different deploys (looks like a different order on classpath Class resolution, due OS or due different JDK implementations)</p>
  
  <p>I have even refactored the code to use field injection instead of constructor one everywhere without success. </p>
  
  <p>Any suggestion? why this Spring version has suddenly started to produce these errors?</p>
  
  <p>Thanks!</p>