title: Angular 7, and Spring Boot App - No 'Access-Control-Allow-Origin' header is present on the requested resource
body: <p>I have added <code>@CrossOrigin(origins = "*")</code> annotation at the class level to my controller in the Spring Boot app, and I am still getting this error when I make an HTTP GET request from Angular to the Spring Boot app (listening on port 9000). Here is the error I get from Chrome.</p>
  
  <blockquote>
    <p>Access to XMLHttpRequest at '<a href="http://localhost:9000/employee/all" rel="nofollow noreferrer">http://localhost:9000/employee/all</a>' from origin '<a href="http://localhost:4200" rel="nofollow noreferrer">http://localhost:4200</a>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.</p>
  </blockquote>