java
caiangfei
懒人一个
展开
-
java中Class.getResource用法
网上收集的文章java中Class.getResource用法 用JAVA获取文件,听似简单,但对于很多像我这样的新人来说,还是掌握颇浅,用起来感觉颇深,大常最经常用的,就是用JAVA的File类,如要取得c:/test.txt文件,就会这样用File file = newFile("c:/test.txt");转载 2009-08-28 09:23:00 · 1231 阅读 · 0 评论 -
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build pat
错误提示:The project was not builtsince its build path is incomplete. Cannot find the class file forjava.lang.Object. Fix the build path then try building this project The type java.lang.Object cann原创 2009-09-09 09:48:00 · 2352 阅读 · 0 评论