Solution: Check the jar package and add it to the Spring MVC configuration file after completion :
<!-- When file upload function is required, enable the following configuration Set the maximum upload file size 10M=10*1024*1024(B)=10485760 bytes --> <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <property name="maxInMemorySize"> <value>10485760 </value> </property></bean>