Home Grails 3 upload file limit size
Reply: 0

Grails 3 upload file limit size

user1082 Published in April 26, 2018, 1:46 pm

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:

            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?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.396443 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO