number (2)编译错 (类的大小写错误) Filewriter cannot be resolved to a type

没找到所使用的类所在的类定义,一般常见于使用了外部jar中的类,但有对应的import语句。
比如,如果程序中使用了ArrayList这个类,但你程序类文件的最开始import部分如果没有
import java.util.ArrayList;
这句话的话,ArrayList出线的地方就会报ArrayList cannot be resolved to a type。

 

posted @ 2018-10-20 12:08  ThisCall  阅读(837)  评论(0编辑  收藏  举报