JSON parse error: Cannot deserialize instance of `com.xxx.controller.BatchReq` out of START_ARRAY

JSON parse error: Cannot deserialize instance of com.hierway.ims.employee.controller.req.newReq.BatchReq out of START_ARRAY token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of com.hierway.ims.employee.controller.req.newReq.BatchReq out of START_ARRAY token\n at [Source: (PushbackInputStream); line: 1, column: 1]"

今天导出数据时,出现异常
JSON parse error: Cannot deserialize instance of `com.xxx.controller.BatchReq` out of START_ARRAY_第1张图片

JSON parse error: Cannot deserialize instance of `com.xxx.controller.BatchReq` out of START_ARRAY_第2张图片

因为我后端改变接受参数的对象
而前端没有跟着做修改而导致 异常发生

在这里插入图片描述

MismatchedInputException

你可能感兴趣的:(异常处理,java)