When i try to run this code:
FileUtils.copyInputStreamToFile(file.getContent(), new File("upload/" + file.getName()));
I get this error