JAVA Exception_JAVA_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > JAVA > JAVA Exception

JAVA Exception

 2011/8/10 17:21:04  bd2007  http://bd2007.iteye.com  我要评论(0)
  • 摘要:1.报错如下:<spanstyle="color:#ff0000;">java.io.filenotfoundexception:d:(拒绝访问。)</span>解决:在设置filefile=newfile(str);str的时候需要把str精确掉某个文件。例如str="d:"是错误的,应该是<spanstyle="white-space:pre;"></span><spanstyle="white-space:pre;"><
  • 标签:Java
    1.报错如下:
? ?<span style="color: #ff0000;">java.io.filenotfoundexception: d: (拒绝访问。)</span>
? ?解决:在设置file file=new file(str); str的时候需要把str精确掉某个文件。例如str="d:"是错误的,应该是<span style="white-space: pre;"> </span>? ? ? ?<span style="white-space: pre;"> </span>str="d:\\a.txt"
 
发表评论
用户名: 匿名