25Apr/160
Missing artifact jdk.tools:jdk.tools:jar:1.6
Hi Friends,
I was working on a hadoop hive UDF function and trying to use POM and got the following error.
Missing artifact jdk.tools:jdk.tools:jar:1.6
I could overcome this problem by adding tool.jar as dependency from my local machine as follows:
<dependency>
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
<scope>system</scope>
<version></version>
<systemPath>{JAVA_HOME}/lib/tools.jar</systemPath>
</dependency>
Replace {VERSION} and {JAVA_HOME} as per your environment.
Hope this helps.