aix服务器:
zip4j1.3.1解压文件报错 cannot set file properties: file doesnot exists
该问题偶然会触发。
ZipFile zipFile=null;
try{
zipFile=new ZipFile(file.getAbsolutePath())
}catch(Exception e)
throw new Exception("读取文件失败");
}
zipFile.setFileNameCharset("GBK");
if(zipFile.isEncrypted)){
zipFile.setPassword("aaa");
}
zipFile.extractAll("C:\\"
```);
文件校验中判断了文件是否存在,还是有偶发的报错 cannot set file properties: file doesnot exists