文件复制的一个错误
InputStream inputStream =new FileInputStream("D://download//file//test.txt");
Unhandled exception type FileNotFoundException
InputStream inputStream =new FileInputStream("D:\\download\\file\\test.txt");
[解决办法]
InputStream inputStream =new FileInputStream("D://download//file//test.txt");如果你是eclipse你直接把光标放到这句话,按ctrl+1然后回车,你的路径是有问题应该是2楼的
[解决办法]
基本楼上都说了,此外要么这个文件真的不存在。