springBoot后端传值报错的 Type definition error:的问题,紧急!!!!!求大佬
Type definition error: [simple type, class org.json.JSONArray]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.json.JSONArray and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.lecare.frame.pojo.common.response.ResponseResult["data"]->java.util.ArrayList[0])
org.springframework.http.converter.HttpMessageConversionException: Type definition error: [simple type, class org.json.JSONArray]; nested exception is com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.json.JSONArray and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: com.lecare.frame.pojo.common.response.ResponseResult["data"]->java.util.ArrayList[0])