title: Could not autowire. No beans 'here name' type found
body: <p>Created a class that implements the <code>AuthenticationSuccessHandler</code> and added the <code>@Component</code> daemon to associate it with the Spring Security configuration object.
  <a href="https://zapodaj.net/b3085e4c1cd43.png.html" rel="nofollow noreferrer">https://zapodaj.net/b3085e4c1cd43.png.html</a></p>
  
  <pre><code> @Component
   public class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandler {..}
  </code></pre>
  
  <p>IntelliJ shows me a message that </p>
  
  <blockquote>
    <p>Could not autowire. No beans of 'CustomAuthenticationSuccessHandler' type found</p>
  </blockquote>