org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot construct instance of `com.cetc.modules.sys.entity.SysUserEntity` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value (','); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.cetc.modules.sys.entity.SysUserEntity` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value (',')
at [Source: (PushbackInputStream); line: 1, column: 1]
at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.readJavaType(AbstractJackson2HttpMessageConverter.java:241)
Jackson序列化时 要将字段是bean类型的加上@JsonInclude注解
/** 主键信息 */ @JsonInclude(JsonInclude.Include.NON_NULL) private GenTableColumn pkColumn;