FileUploadException: the request was rejected because no multipart boundary was found
问题
1 . Current request is not a multipart request
Content-type不正确或者上传文件为空时会发生这种问题
2 . Failed to parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
将Content-type手动设置为"multipart/form-data"会出现此问题
解决
ajax请求参数中设置 contentType:false,