java.io.FileNotFoundException: d:尀file.txt (请求的操作无法在使用用户映射区域

2024-12-16 15:55:37
推荐回答(1个)
回答1:

in = new FileInputStream(sourceFile);
out = new FileOutputStream(destFile);

改成这样:

in = new FileInputStream(new File(sourceFile));
out = new FileOutputStream(new File(destFile));