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 the discovered to create BeanSerializer (to get the exception, disable SerializationFeature. FAIL_ON_EMPTY_BEANS) (through the reference chain: com.lecare.frame.pojo.com mon. Response. ResponseResult (" data ") - & gt; Java. Util. ArrayList [0])
CodePudding user response:
InvalidDefinitionException class bag did you import?CodePudding user response:
Serialization mistake, may be the corresponding controller inside the method of parameter forgot to add @ RequestBody annotation