При использовании следующего кода я получаю исключение ClassCastException: String
невозможно привести к org.springframework.http.ResponseEntity.
@Autowired
private ClientService clientService;
public void methodA() {
String url = ...
ResponseEntity resEntity = clientService.callService(url);
}
Подробнее здесь: https://stackoverflow.com/questions/431 ... onseentity
Мобильная версия