{“timestamp”:“2021-07-22 15:54:58”,“status”:500,“error”:“Internal Server Error”,“message”:“io.undertow.server.handlers.form.MultiPartParserDefinition$FileTooLargeException: UT000054: The maximum size 1048576 for an individual file in a multipart request was exceeded”,“path”:"/v1/nexus-components/1/project/132/upload"}
0.25版本做了修复
我看是spring的报错,增加了下面两个环境变量可以了
- name: SPRING_SERVLET_MULTIPART_MAXFILESIZE
value: 100MB
- name: SPRING_SERVLET_MULTIPART_MAXREQUESTSIZE
value: 100MB
嗯嗯 我们是采用文件分片上传来优化的