Fail to configure CommonsMultipartResolver in Spring4
Download commons-fileupload and keep it in your modules folder of your container. Apparently the class org.springframework.web.multipart.commons.CommonsMultipartResolver
has a hard dependency on org.apache.commons.fileupload.FileItemFactory
which is a class contained in the above jar. Once your container class loader loads this class, you wouldn't get this error.