在使用restTemplate调用get方法时,报错:
Error while extracting response for type [class cn.hutool.json.JSONArray] and content type [application/json;charset=UTF-8]
原因是反射类写的的JSONArray.class,而实际上应该写JSONObject.class才行,修改后就不再报错
在使用restTemplate调用get方法时,报错:
Error while extracting response for type [class cn.hutool.json.JSONArray] and content type [application/json;charset=UTF-8]
原因是反射类写的的JSONArray.class,而实际上应该写JSONObject.class才行,修改后就不再报错