Buiding Hadoop with Eclipse / Maven - Missing artifact jdk.tools:jdk.tools:jar:1.6

后端 未结 12 1931
盖世英雄少女心
盖世英雄少女心 2020-12-12 12:56

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

12条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 13:41

    If the jdk.tools is present in the .m2 repository. Still you get the error something like this:

    missing artifact: jdk.tools.....c:.../jre/..

    In the buildpath->configure build path-->Libraries.Just change JRE system library from JRE to JDK.

提交回复
热议问题