当前位置: 代码迷 >> 综合 >> Tomcat报错:Processing of multipart/form-data request failed. /usr/local/tomcat/work/Catalina/local
  详细解决方案

Tomcat报错:Processing of multipart/form-data request failed. /usr/local/tomcat/work/Catalina/local

热度:20   发布时间:2023-09-27 11:02:19.0

web项目上传图片不成功,tomcat日志报错如下:

Processing of multipart/form-data request failed. /usr/local/tomcat/work/Catalina/localhost/_/upload_065d149d_b147_4f36_bb49_9af8361c11ca_00000000.tmp (Permission denied)]

查了一下/usr/local/tomcat/work/Catalina/localhost/_文件夹所属用户及组都是root 

将其所属用户及组改为tomcat问题解决,原因待查。。。

  相关解决方案