今天遇到一个问题,使用Spring的Controller中实现上传文件处理的时候,报错: Controller中接收文件的代码如下: @RequestMapping(method = RequestMethod.POST, value = "/file/upload") public @ResponseBody String uploadManageRule(@RequestParam(value = "file") MultipartFile file) { // TODO 把MultipartFile file…