My application context contains:
I see from my classpath when I run a program that jar is present: -classpath "C:\Program Files\Java\jdk1.7.0_25\jre\lib\charsets.jar;... atd;C:\Users\JS185350\WorkSpace\HBasePlaying\hadoo p-examples\target\hadoop-examples-1.0-SNAPSHOT.jar;
I tried various combinations of classpath*:/... But none of those worked.
Error creating bean with name 'myjob': Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [hadoop-examples-1.0-SNAPSHOT.jar] cannot be resolved to URL because it does not exist
Anyone guess what might be wrong?
Code:
<hdp:job id="myjob" input-path="wordcount/in/" output-path="wordcount/outtttttt/"
mapper="org.apache.hadoop.examples.WordCount.TokenizerMapper"
reducer="org.apache.hadoop.examples.WordCount.IntSumReducer"
jar="classpath:/hadoop-examples-1.0-SNAPSHOT.jar"/>
I tried various combinations of classpath*:/... But none of those worked.
Error creating bean with name 'myjob': Invocation of init method failed; nested exception is java.io.FileNotFoundException: class path resource [hadoop-examples-1.0-SNAPSHOT.jar] cannot be resolved to URL because it does not exist
Anyone guess what might be wrong?