cannot be cast to org.springframework.web.multipart.MultipartHttpServletRequest

MultipartHttpServletRequest   multipartRequest= (MultipartHttpServletRequest)request;  

转型报错cannot be cast to org.springframework.web.multipart.MultipartHttpServletRequest


添加jar包commons-io.jar可解决


commons-io
commons-io
2.5

你可能感兴趣的:(cannot be cast to org.springframework.web.multipart.MultipartHttpServletRequest)