[vscode] error 파일 업로드 시 오류

이로률·2023년 5월 12일
0

error report

목록 보기
8/11

[http-nio-7070-exec-8] ERROR 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.MaxUploadSizeExceededException: Maximum upload size exceeded; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException: the request was rejected because its size (1654554079) exceeds the configured maximum (10485760)] with root cause
org.apache.tomcat.util.http.fileupload.impl.SizeLimitExceededException: the request was rejected because its size (1654554079) exceeds the configured maximum (10485760)

해결 방법
application.properties 에

spring.servlet.multipart.max-file-size=10GB
spring.servlet.multipart.max-request-size=10GB
profile
💻🧐💗💝💘💖

0개의 댓글