当前位置:网站首页>上传文件时,服务器报错:IOFileUploadException: Processing of multipart/form-data request failed. 设备上没有空间
上传文件时,服务器报错:IOFileUploadException: Processing of multipart/form-data request failed. 设备上没有空间
2022-07-02 09:43:00 【alwaysonline819】
1. 问题
SpringBoot上传文件时,服务器报错
2022-06-27 10:58:00.941 ERROR 12700 --- [nio-8900-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.impl.IOFileUploadException: Processing of multipart/form-data request failed. 设备上没有空间] with root cause
或
nested exception is org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.io.IOException: org.apache.tomcat.util.http.fileupload.impl.IOFileUploadException: Processing of multipart/form-data request failed. No space left on device] with root cause
java.io.IOException: No space left on device
2. 处理办法
配置文件中增加如下配置
server:
port: 8900
tomcat:
basedir: /opt/project/temp
边栏推荐
- drools执行String规则或执行某个规则文件
- 【工控老马】西门子PLC Siemens PLC TCP协议详解
- Flesh-dect (media 2021) -- a viewpoint of material decomposition
- Depth filter of SvO2 series
- (C语言)输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。
- 甜心教主:王心凌
- MSI announced that its motherboard products will cancel all paper accessories
- Leetcode14 longest public prefix
- 【C语言】杨辉三角,自定义三角的行数
- Leetcode922 sort array by parity II
猜你喜欢
随机推荐
输入一个三位的数字,输出它的个位数,十位数、百位数。
Log4j2
Input a three digit number and output its single digit, ten digit and hundred digit.
Jenkins用户权限管理
Thesis translation: 2022_ PACDNN: A phase-aware composite deep neural network for speech enhancement
Those logs in MySQL
自然语言处理系列(一)——RNN基础
[QT] Qt development environment installation (QT version 5.14.2 | QT download | QT installation)
GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R
PHP 2D and multidimensional arrays are out of order, PHP_ PHP scrambles a simple example of a two-dimensional array and a multi-dimensional array. The shuffle function in PHP can only scramble one-dim
Natural language processing series (I) -- RNN Foundation
甜心教主:王心凌
BEAUTIFUL GGPLOT VENN DIAGRAM WITH R
5g era, learning audio and video development, a super hot audio and video advanced development and learning classic
Natural language processing series (III) -- LSTM
[untitled] how to mount a hard disk in armbian
Jenkins voucher management
Seriation in R: How to Optimally Order Objects in a Data Matrice
GGPLOT: HOW TO DISPLAY THE LAST VALUE OF EACH LINE AS LABEL
倍增 LCA(最近公共祖先)