Exception when use the "KeyValueTextInputFormat.class" file format

Hi all,
I work with hadoop in eclipse using the maven plugin, and I try to do chaining map reduce functions, and in the second map I use KeyValueTextInputFormat.class as an input file class, instead of the TextInputFormat.class. Becuase I want to pass “Text” as a key with the map not LongWritable.

Exception in thread "main" java.lang.IncompatibleClassChangeError: Found class org.apache.hadoop.mapreduce.JobContext, but interface was expected
    at org.apache.hadoop.mapreduce.lib.input.KeyValueTextInputFormat.isSplitable(KeyValueTextInputFormat.java:52)
    at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:246)
    at org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:885)

Please, If anyone now any idea of this crazy exception:( Thanks all