java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to com.naturade.model.MemberLabelRule
// List<MemberLabelRule> mlrList = restTemplate.getForObject(mlrUrl + ml.getId(), List.class); MemberLabelRule[] mlrListArray = restTemplate.getForObject(mlrUrl + ml.getId(), MemberLabelRule[].class); List<MemberLabelRule> memberLabelRules = Arrays.asList(mlrListArray);