String cannot be cast to org.springframework.http.ResponseEntity
01:19 30 Mar 2017

While using the following code, I'm getting a ClassCastException: String cannot be cast to org.springframework.http.ResponseEntity.

@Autowired
private  ClientService clientService;

public void methodA() {
    String url = ...
    ResponseEntity resEntity = clientService.callService(url);
}
java spring-boot