Latest Updates in Technology, Programming, Finance, Books, Useful Websites, Gadget Reviews & More
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.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.