【发布时间】:2020-04-16 04:08:56
【问题描述】:
我目前正在构建一个控制器,它将接受带有 Map 的参数,由于 Multipart File,我需要通过表单数据传递它。我无法通过邮递员传递地图,它一直给我这个错误
"Failed to convert property value of type java.lang.String to required type java.util.Map for property variables; nested exception is java.lang.IllegalStateException: Cannot convert value of type java.lang.String to required type java.util.Map for property variables: no matching editors or conversion strategy found"
这是我目前传递给 PostMan 的内容
键
variables
价值
variables : {"abc": "123"}
【问题讨论】:
标签: java api controller postman