Maximum upload size exceeded;
nested exception is java.lang.IllegalStateException:
org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException:
The field pimage exceeds its maximum permitted size of 1048576 bytes
위 오류는 클라이언트 측에서 넘어온 파일을 저장 할려고 할때 저장할 수 있는 파일의 최대용량을 설정해주지 않아 default값( 1048576 bytes)으로 설정이 돼서 저장할려고 하는 이미지 파일의 용량이 1048576 bytes를 넘어 발생하는 오류입니다. 해결방법은 아래와 같이 application.properties 파일에 용량 설정을 추가하여줍니다.
#application.properties