title: ResponseEntity cannot be resolved to a type
body: <p>I tried to add ResponseEntity&lt;> in my rest endpoint class(spring boot project), where it does not allow me to add and I got a compilation error as "ResponseEntity cannot be resolved to a type". Please let me know why I'm not able to add them into my project.</p>
  
  <p>Also I would like to know the ways for handling http status codes in response?</p>
  
  <p>Thanks in Advance!</p>