使用multipartFile上传文件时出错 Expected MultipartHttpServletRequest: is a MultipartResolver configured? 原来是配置文件的问题: id不能省略而且也不能改名,必须使用固定名称!!!