请问,老师这个应该怎么解决?
问题:Windows 开发 wordcount 在敲写job代码:
Job job = new Job(getConf(),"wordcount");
时,红线报错提示:
Job cannot be resolved to a type
'Job cannot be resolved to a type
The import org.apache.hadoop.mapreduce.Job cannot be resolved
项目中可导入的包只有:import org.apache.hadoop.mapreduce.v2.app.job.Job;
找不到:org.apache.hadoop.mapreduce.Job