异常:No primary or single public constructor found for interface java.util.List - and no default constructor found either
上图为错误示范
原来是因为在接收前端接受来的 List 参数时,使用post请求需要加上@RequestBody
异常:No primary or single public constructor found for interface java.util.List - and no default constructor found either
上图为错误示范
原来是因为在接收前端接受来的 List 参数时,使用post请求需要加上@RequestBody