FAQ
Eclipse project files are incomplete
------------------------------------

Key: HADOOP-7305
URL: https://issues.apache.org/jira/browse/HADOOP-7305
Project: Hadoop Common
Issue Type: Improvement
Components: build
Reporter: Niels Basjes
Assignee: Niels Basjes
Priority: Minor


After a fresh checkout of hadoop-common I do 'ant compile eclipse'.
I open eclipse, set ANT_HOME and build the project.
At that point the following error appears:
{quote}
The type com.sun.javadoc.RootDoc cannot be resolved. It is indirectly referenced from required .class files ExcludePrivateAnnotationsJDiffDoclet.java /common/src/java/org/apache/hadoop/classification/tools line 1 Java Problem
{quote}

The solution is to add the "tools.jar" from the JDK to the buildpath/classpath.
This should be fixed in the build.xml.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

  • Niels Basjes (JIRA) at Jun 4, 2011 at 8:40 pm
    [ https://issues.apache.org/jira/browse/HADOOP-7305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Niels Basjes reopened HADOOP-7305:
    ----------------------------------


    Apparently there are some issues with the first version in combination with OS X.
    Eclipse project files are incomplete
    ------------------------------------

    Key: HADOOP-7305
    URL: https://issues.apache.org/jira/browse/HADOOP-7305
    Project: Hadoop Common
    Issue Type: Improvement
    Components: build
    Reporter: Niels Basjes
    Assignee: Niels Basjes
    Priority: Minor
    Fix For: 0.22.0

    Attachments: HADOOP-7305-2011-05-19.patch, HADOOP-7305-2011-05-30.patch


    After a fresh checkout of hadoop-common I do 'ant compile eclipse'.
    I open eclipse, set ANT_HOME and build the project.
    At that point the following error appears:
    {quote}
    The type com.sun.javadoc.RootDoc cannot be resolved. It is indirectly referenced from required .class files ExcludePrivateAnnotationsJDiffDoclet.java /common/src/java/org/apache/hadoop/classification/tools line 1 Java Problem
    {quote}
    The solution is to add the "tools.jar" from the JDK to the buildpath/classpath.
    This should be fixed in the build.xml.
    --
    This message is automatically generated by JIRA.
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMay 19, '11 at 12:11p
activeJun 4, '11 at 8:40p
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Niels Basjes (JIRA): 2 posts

People

Translate

site design / logo © 2022 Grokbase