Content type application/x-www-form-urlencoded;charset=UTF-8 not supported
问题描述:前端向后台发送ajax请求时,后台用map接收没有问题,将map换成dto接收时报此异常解决办法:$.ajax({type:'post',url:$.getRootPath()+'/xxx/saveOrUpdate.do',contentType:'application/json;charset=utf-8',data:JSON.stringify(formData),success: