the request was rejected because no multipart boundary was found
报错:
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本地
一个模块,在多种环境下测试过都OK,但是在一个新的环境下测试,出现如上报错,这个报错很久以前遇到过,但是原本的解决方案没有用
运行时,调整命令如下
javaw -Xms2048m -Xmx2048m -jar -Dspring.servlet.multipart.location=D:\xx\xx\temp xxx.jar
作者:人间春风意
扫描左侧的二维码可以赞赏

本作品采用署名-非商业性使用-禁止演绎 4.0 国际 进行许可。

浙公网安备 33010602011771号