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。

原文地址:https://www.cnblogs.com/dianzan/p/9821196.html