?FileUtils.copyInputStreamToFile(file.getInputStream(), new ? ? ? ? ? ? ? ?File("/home"+File.separator+"picture"+File.separator,userId+".jpg" ));這一行代碼在centos中報錯。但是在windows系統(tǒng)下沒問題。在centos中該寫new File括號里的代碼。
添加回答
舉報
0/150
提交
取消