3 Answers
3

Use the more common interface org.springframework.web.multipart.MultipartFile. instead of
org.springframework.web.multipart.commons.CommonsMultipartFile in your Command (UploadItem). (CommonsMultipartFile is a 1:1 implementation of the Interface).