Friday, September 15, 2017

Missing Artifact JDK Tools Jar

While building hadoop application, you may get below error

 

Missing Artifact JDK Tools Jar


Problem is, hadoop system couldn't find the java tools. to resolve this issue, you have need to add java path in the pom file



    <dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<version>1.7.0_05</version>
<scope>system</scope>
<systemPath>C:\ProgramFiles\Java\jdk1.8.0_121\lib\tools.jar</systemPath>
 </dependency>

No comments:

Post a Comment