I am trying to import cloudera\'s org.apache.hadoop:hadoop-client:2.0.0-cdh4.0.0 from cdh4 maven repo in a maven project in eclipse 3.81, m2e plugin, with o
Ok, if you are using Windows OS
Go to C:\Program Files\Java\jdk1.8.0_40\lib (jdk Version might be different for you)
Make sure tools.jar is present (otherwise download it)
Copy this path "C:\Program Files\Java\jdk1.8.0_40"
In pom.xml
jdk.tools
jdk.tools
1.8.0_40
system
C:/Program Files/Java/jdk1.8.0_40/lib/tools.jar
Rebuild and run! BINGO!