nested exception is com.fasterxml.jackson.databind.JsonMappingException

Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: (was java.lang.NullPointerException); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: com.fms.http.BaseResponseJson["data"]->java.util.ArrayList[0]->com.fms.bean.FileBean["userID"])]

检查了实体类,才发现get  set 方法还是基本数据类型,心累

 

nested exception is com.fasterxml.jackson.databind.JsonMappingException_第1张图片

你可能感兴趣的:(java)