document.write("");

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

  

posted @ 2024-05-14 16:35  人间春风意  阅读(2325)  评论(0)    收藏  举报