posted 9 years ago
I am getting a org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size of 500000 bytes exceeded;
which I thought could be solved by adding
<bean id="multipartResolver"
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<!-- one of the properties available; the maximum file size in bytes -->
<property name="maxUploadSize" value="3000000"/>
</bean>
I also have the commons-fileupload.jar in the pom.xml.
but I am still getting the error, any suggestions on where to look as to why the maxUploadSize has no effect. I am loading a file that is just 537KB