What i am doing and what happened?
I am trying to upload files in grails and dowloand them. After make it, I am still facing a problem, when the file size is large. Here is the exception:
Caused by: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException:
the request was rejected because its size (3553808) exceeds the configured maximum (128000)
What I tryed and the result:
I found this asked before in this question, and the answer is to put some configuration variables:
grails:
controllers:
upload:
maxFileSize: (10 * 1024 * 1024)
maxRequestSize: (10 * 1024 * 1024)
But still getting the same error. I also tryed to add some dependencies as said here. Or close IDE And rebuild. And nothing could be solved.
Did someone face this issue and could solved it?