title: Spring boot application fails to start after upgrading to 2.6.0 due to circular dependency[ unresolvable circular reference]
body: <p>Spring boot upgrade Error</p>
  <p>Spring boot application fails to start after upgrading to 2.6.0 due to circular dependency</p>
  <pre><code>Error creating bean with name 'securityConfig': 
  Requested bean is currently in creation: Is there an 
        unresolvable circular reference?
  </code></pre>