org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is java.io.IOException: The temporary upload location [**/tmp/tomcat.1220970741172837513.8080/work/Tomcat/localhost/ROOT]** is not valid at org.springframework.web.multipart.support.StandardMultipartHttpServletRequest.parseRequest(StandardMultipartHttpServletRequest.java:111)
Linux Filesystem Hierarchy:Chapter 1. Linux Filesystem Hierarchy1.20. /tmp
This directory contains mostly files that are required temporarily. Many programs use this to create lock files and for temporary storage of data. Do not remove files from this directory unless you know exactly what you are doing! Many of these files are important for currently running programs and deleting them may result in a system crash. Usually it won't contain more than a few KB anyway. On most systems, this directory is cleared out at boot or at shutdown by the local system. The basis for this was historical precedent and common practice. However, it was not made a requirement because system administration is not within the scope of the FSSTND. For this reason people and programs must not assume that any files or directories in /tmp are preserved between invocations of the program. The reasoning behind this is for compliance with IEEE standard P1003.2 (POSIX, part 2).
신경 좀 써야겠다.
앱을 재시작하는 것으로 간단하게 대응했다.
해결방법은 찾아봐야겠다.
'Java > SpringBoot' 카테고리의 다른 글
[springboot] 2.0.0 release!! 출시 (0) | 2018.03.02 |
---|---|
[springboot] 소스 경로 변경 및 소스코드 변경 (1) | 2017.11.11 |
[springboot] AWS Elastic Beanstalk NGINX 설정 (0) | 2017.05.31 |
[springboot] AWS Beanstalk 에서 SpringBoot 에 사용할 환경변수 정의 (0) | 2017.02.23 |
[springboot] 1.5.1 업글 후 javax.validation.ValidationException: HV000183: Unable to initialize 'javax.el.ExpressionFactory' 발생 문제 해결 (0) | 2017.02.19 |