Generic Type ClassCastException
Java generics erase at runtime. restTemplate.getForObject(url, List.class) deserializes JSON array to List<LinkedHashMap>, not List<OrderDto>....
Generic Type ClassCastException · Home · Support the platform
Java generics erase at runtime. restTemplate.getForObject(url, List.class) deserializes JSON array to List<LinkedHashMap>, not List<OrderDto>....
Generic Type ClassCastException · Home · Support the platform