2020.05.23 at 18:50:45 CST WARN org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver 194 logException - Resolved exception caused by handler execution: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize instance of `BillTemSourceMappingField` out of START_ARRAY token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `BillTemSourceMappingField` out of START_ARRAY token
大概率是ajax传值的问题,不要使用let arr = new Array(),然后push最后传给后台
错误示范
let arr = new Array()
ob1 ={"a":1,"b":2}ob2 ={"c":3,"d":4}ob3 ={"e":5}
arr.push(ob1)
arr.push(ob2)
arr.push(ob3)