Job.getInstance报错“The method getInstance(Configuration, String) is undefined for the type Job”

请问eclipse里这个报错如何解决呢

img

对getInstance报错“The method getInstance(Configuration, String) is undefined for the type Job”是什么原因呢,如何解决呢

没有两个参数的实例方法,查看一下Job有没有这个方法,或者你参数类型搞错了。