Git Product home page Git Product logo

Comments (8)

winghc avatar winghc commented on August 14, 2024

You need tell ant where is your eclipse library? That is why "-Declipse.home=/opt/eclipse" means

from hadoop2x-eclipse-plugin.

Riddle4045 avatar Riddle4045 commented on August 14, 2024

Hi Winghc,

thanks for reply, My eclipse home is /usr/lib/eclipse and not /opt/eclipse . and I did mention it in the command ..

from hadoop2x-eclipse-plugin.

pratik1sharma-dev avatar pratik1sharma-dev commented on August 14, 2024

@Riddle4045 Hi
i am trying to build the hadoop plugin for 2.2.0 and getting almost same error as you.Did you got the solution of the problem..??

from hadoop2x-eclipse-plugin.

darwinlee avatar darwinlee commented on August 14, 2024

which error did you mean by?

------------------ 原始邮件 ------------------
发件人: "pratik1sharmayahoo";[email protected];
发送时间: 2015年1月19日(星期一) 下午2:48
收件人: "winghc/hadoop2x-eclipse-plugin"[email protected];

主题: Re: [hadoop2x-eclipse-plugin] Cannot Complie the plugin for hadoop2.4.0 (#15)

@Riddle4045 Hi
i am trying to build the hadoop plugin for 2.2.0 and getting almost same error as you.Did you got the solution of the problem..??


Reply to this email directly or view it on GitHub.

from hadoop2x-eclipse-plugin.

pratik1sharma-dev avatar pratik1sharma-dev commented on August 14, 2024

ant jar -Dversion=2.2.0 -Declipse.home=/usr/lib/eclipse/ -Dhadoop.home=/usr/local/hadoop-2.2.0/
Buildfile: /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml

check-contrib:

init:
[echo] contrib: eclipse-plugin

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/ivy/ivysettings.xml

ivy-resolve-common:

ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/ivy/ivysettings.xml

compile:
[echo] contrib: eclipse-plugin
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 45 source files to /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/build/contrib/eclipse-plugin/classes
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:22: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:25: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:36: error: cannot find symbol
[javac] public class NewDriverWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:31: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.IJavaElementSearchConstants;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:32: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:54: error: cannot find symbol
[javac] public class NewDriverWizardPage extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:91: error: cannot find symbol
[javac] protected void createTypeMembers(final IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:40: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPage;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:78: error: cannot find symbol
[javac] private NewJavaProjectWizardPage javaPage;
[javac] ^
[javac] symbol: class NewJavaProjectWizardPage
[javac] location: class NewMapReduceProjectWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:32: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:50: error: cannot find symbol
[javac] public class NewMapperWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:79: error: cannot find symbol
[javac] public static class Page extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] location: class NewMapperWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:102: error: cannot find symbol
[javac] protected void createTypeMembers(IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class Page
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:32: error: package org.eclipse.jdt.internal.ui.wizards does not exist
[javac] import org.eclipse.jdt.internal.ui.wizards.NewElementWizard;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:33: error: package org.eclipse.jdt.ui.wizards does not exist
[javac] import org.eclipse.jdt.ui.wizards.NewTypeWizardPage;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:49: error: cannot find symbol
[javac] public class NewReducerWizard extends NewElementWizard implements
[javac] ^
[javac] symbol: class NewElementWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:78: error: cannot find symbol
[javac] public static class Page extends NewTypeWizardPage {
[javac] ^
[javac] symbol: class NewTypeWizardPage
[javac] location: class NewReducerWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewReducerWizard.java:99: error: cannot find symbol
[javac] protected void createTypeMembers(IType newType, ImportsManager imports,
[javac] ^
[javac] symbol: class ImportsManager
[javac] location: class Page
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/JarModule.java:32: error: package org.eclipse.jdt.ui.jarpackager does not exist
[javac] import org.eclipse.jdt.ui.jarpackager.IJarExportRunnable;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/JarModule.java:33: error: package org.eclipse.jdt.ui.jarpackager does not exist
[javac] import org.eclipse.jdt.ui.jarpackager.JarPackageData;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:35: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaApplicationLaunchShortcut;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:36: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:37: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:38: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.JavaRuntime;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/HadoopApplicationLaunchShortcut.java:49: error: cannot find symbol
[javac] JavaApplicationLaunchShortcut {
[javac] ^
[javac] symbol: class JavaApplicationLaunchShortcut
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:33: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:34: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:35: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:36: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.IJavaElementSearchConstants;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/LocalMapReduceLaunchTabGroup.java:37: error: package org.eclipse.jdt.ui does not exist
[javac] import org.eclipse.jdt.ui.JavaUI;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:25: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:26: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaClasspathTab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/launch/StartHadoopLaunchTabGroup.java:27: error: package org.eclipse.jdt.debug.ui.launchConfigurations does not exist
[javac] import org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:39: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:40: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.IRuntimeClasspathEntry;
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/servers/RunOnHadoopWizard.java:41: error: package org.eclipse.jdt.launching does not exist
[javac] import org.eclipse.jdt.launching.JavaRuntime;
[javac] ^
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/Path.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate': class file for org.apache.hadoop.classification.InterfaceAudience not found
[javac] /usr/local/hadoop-2.2.0/share/hadoop/hdfs/hadoop-hdfs-2.2.0.jar(org/apache/hadoop/hdfs/DistributedFileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FileSystem.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:52: error: cannot find symbol
[javac] bottom.addView(JavaUI.ID_JAVADOC_VIEW);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:54: error: cannot find symbol
[javac] bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:67: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:68: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_CODING_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:69: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_ELEMENT_CREATION_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java:71: error: cannot find symbol
[javac] layout.addActionSet(JavaUI.ID_SEARCH_ACTION_SET);
[javac] ^
[javac] symbol: variable JavaUI
[javac] location: class HadoopPerspectiveFactory
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:36: error: NewDriverWizard is not abstract and does not override abstract method setContainer(IWizardContainer) in IWizard
[javac] public class NewDriverWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:56: error: cannot find symbol
[javac] setWindowTitle("New MapReduce Driver");
[javac] ^
[javac] symbol: method setWindowTitle(String)
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:61: error: cannot find symbol
[javac] super.init(workbench, selection);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:64: error: cannot find symbol
[javac] addPage(page);
[javac] ^
[javac] symbol: method addPage(NewDriverWizardPage)
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:74: error: cannot find symbol
[javac] if (super.performFinish()) {
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:76: error: cannot find symbol
[javac] selectAndReveal(page.getModifiedResource());
[javac] ^
[javac] symbol: method getModifiedResource()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:77: error: cannot find symbol
[javac] openResource((IFile) page.getModifiedResource());
[javac] ^
[javac] symbol: method getModifiedResource()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:77: error: cannot find symbol
[javac] openResource((IFile) page.getModifiedResource());
[javac] ^
[javac] symbol: method openResource(IFile)
[javac] location: class NewDriverWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:86: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:95: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizard.java:97: error: cannot find symbol
[javac] return page.getCreatedType().getPrimaryElement();
[javac] ^
[javac] symbol: method getCreatedType()
[javac] location: variable page of type NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:71: error: cannot find symbol
[javac] setTitle("MapReduce Driver");
[javac] ^
[javac] symbol: method setTitle(String)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:72: error: cannot find symbol
[javac] setDescription("Create a new MapReduce driver.");
[javac] ^
[javac] symbol: method setDescription(String)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:73: error: cannot find symbol
[javac] setImageDescriptor(ImageLibrary.get("wizard.driver.new"));
[javac] ^
[javac] symbol: method setImageDescriptor(ImageDescriptor)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:77: error: cannot find symbol
[javac] initContainerPage(getInitialJavaElement(selection));
[javac] ^
[javac] symbol: method getInitialJavaElement(IStructuredSelection)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:78: error: cannot find symbol
[javac] initTypePage(getInitialJavaElement(selection));
[javac] ^
[javac] symbol: method getInitialJavaElement(IStructuredSelection)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:81: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:87: error: cannot find symbol
[javac] super.createType(monitor);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:90: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:93: error: cannot find symbol
[javac] super.createTypeMembers(newType, imports, monitor);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:106: error: cannot find symbol
[javac] getContainer().getShell().getDisplay().syncExec(new Runnable() {
[javac] ^
[javac] symbol: method getContainer()
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:148: error: cannot find symbol
[javac] initializeDialogUnits(parent);
[javac] ^
[javac] symbol: method initializeDialogUnits(Composite)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:154: error: cannot find symbol
[javac] createContainerControls(composite, 4);
[javac] ^
[javac] symbol: method createContainerControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:156: error: cannot find symbol
[javac] createPackageControls(composite, 4);
[javac] ^
[javac] symbol: method createPackageControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:157: error: cannot find symbol
[javac] createSeparator(composite, 4);
[javac] ^
[javac] symbol: method createSeparator(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:158: error: cannot find symbol
[javac] createTypeNameControls(composite, 4);
[javac] ^
[javac] symbol: method createTypeNameControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:160: error: cannot find symbol
[javac] createSuperClassControls(composite, 4);
[javac] ^
[javac] symbol: method createSuperClassControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:161: error: cannot find symbol
[javac] createSuperInterfacesControls(composite, 4);
[javac] ^
[javac] symbol: method createSuperInterfacesControls(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:162: error: cannot find symbol
[javac] createSeparator(composite, 4);
[javac] ^
[javac] symbol: method createSeparator(Composite,int)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:168: error: cannot find symbol
[javac] setPackageFragmentRoot(null, false);
[javac] ^
[javac] symbol: method setPackageFragmentRoot(,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:169: error: cannot find symbol
[javac] setSuperClass("java.lang.Object", false);
[javac] ^
[javac] symbol: method setSuperClass(String,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:170: error: cannot find symbol
[javac] setSuperInterfaces(new ArrayList(), false);
[javac] ^
[javac] symbol: method setSuperInterfaces(ArrayList,boolean)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:173: error: cannot find symbol
[javac] setControl(composite);
[javac] ^
[javac] symbol: method setControl(Composite)
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:175: error: cannot find symbol
[javac] setFocus();
[javac] ^
[javac] symbol: method setFocus()
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:176: error: cannot find symbol
[javac] handleFieldChanged(CONTAINER);
[javac] ^
[javac] symbol: variable CONTAINER
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:183: error: method does not override or implement a method from a supertype
[javac] @OverRide
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:185: error: cannot find symbol
[javac] super.handleFieldChanged(fieldName);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: variable fContainerStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: variable fPackageStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fTypeNameStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fSuperClassStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:193: error: cannot find symbol
[javac] fTypeNameStatus, fSuperClassStatus, fSuperInterfacesStatus });
[javac] ^
[javac] symbol: variable fSuperInterfacesStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:192: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fContainerStatus, fPackageStatus,
[javac] ^
[javac] symbol: method updateStatus(IStatus[])
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:195: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fTypeNameStatus, });
[javac] ^
[javac] symbol: variable fTypeNameStatus
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:195: error: cannot find symbol
[javac] updateStatus(new IStatus[] { fTypeNameStatus, });
[javac] ^
[javac] symbol: method updateStatus(IStatus[])
[javac] location: class NewDriverWizardPage
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:230: error: cannot find symbol
[javac] baseType = getPackageFragmentRoot().getJavaProject().findType(
[javac] ^
[javac] symbol: method getPackageFragmentRoot()
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:237: error: cannot find symbol
[javac] IJavaElementSearchConstants.CONSIDER_CLASSES, false);
[javac] ^
[javac] symbol: variable IJavaElementSearchConstants
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewDriverWizardPage.java:234: error: cannot find symbol
[javac] SelectionDialog dialog = JavaUI.createTypeDialog(
[javac] ^
[javac] symbol: variable JavaUI
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapReduceProjectWizard.java:327: error: cannot find symbol
[javac] new NewJavaProjectWizardPage(ResourcesPlugin.getWorkspace()
[javac] ^
[javac] symbol: class NewJavaProjectWizardPage
[javac] location: class NewMapReduceProjectWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:50: error: NewMapperWizard is not abstract and does not override abstract method setContainer(IWizardContainer) in IWizard
[javac] public class NewMapperWizard extends NewElementWizard implements INewWizard,
[javac] ^
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:55: error: cannot find symbol
[javac] setWindowTitle("New Mapper");
[javac] ^
[javac] symbol: method setWindowTitle(String)
[javac] location: class NewMapperWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:72: error: cannot find symbol
[javac] super.init(workbench, selection);
[javac] ^
[javac] symbol: variable super
[javac] location: class NewMapperWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:75: error: cannot find symbol
[javac] addPage(page);
[javac] ^
[javac] symbol: method addPage(Page)
[javac] location: class NewMapperWizard
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:85: error: cannot find symbol
[javac] setTitle("Mapper");
[javac] ^
[javac] symbol: method setTitle(String)
[javac] location: class Page
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:86: error: cannot find symbol
[javac] setDescription("Create a new Mapper implementation.");
[javac] ^
[javac] symbol: method setDescription(String)
[javac] location: class Page
[javac] /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/NewMapperWizard.java:87: error: cannot find symbol
[javac] setImageDescriptor(ImageLibrary.get("wizard.mapper.new"));
[javac] ^
[javac] symbol: method setImageDescriptor(ImageDescriptor)
[javac] location: class Page
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FSDataInputStream.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] /usr/local/hadoop-2.2.0/share/hadoop/common/hadoop-common-2.2.0.jar(org/apache/hadoop/fs/FSDataOutputStream.class): warning: Cannot find annotation method 'value()' in type 'LimitedPrivate'
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/actions/DFSActionImpl.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors
[javac] 7 warnings

BUILD FAILED
/home/pratik/Downloads/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml:76: Compile failed; see the compiler error output for details.

from hadoop2x-eclipse-plugin.

mmm0469 avatar mmm0469 commented on August 14, 2024

Hi.. I'm also facing the same issue : BUILD FAILED with 100 errors. Hadoop version is 2.6.0. Ubuntu 15.10. Please let us know, if you have found the solution.

$ sudo ant jar -Dversion=2.6.0 -Declipse.home=/usr/share/eclipse/ -Dhadoop.home=/usr/local/hadoop/hadoop-2.6.0/
Buildfile: /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml

check-contrib:

init:
[echo] contrib: eclipse-plugin

init-contrib:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = /usr/local/hadoop/hadoop2x-eclipse-plugin-master/ivy/ivysettings.xml

ivy-resolve-common:

ivy-retrieve-common:
[ivy:cachepath] DEPRECATED: 'ivy.conf.file' is deprecated, use 'ivy.settings.file' instead
[ivy:cachepath] :: loading settings :: file = /usr/local/hadoop/hadoop2x-eclipse-plugin-master/ivy/ivysettings.xml

compile:
[echo] contrib: eclipse-plugin
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/build.xml:76: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 45 source files to /usr/local/hadoop/hadoop2x-eclipse-plugin-master/build/contrib/eclipse-plugin/classes
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:22: error: package org.eclipse.ui.plugin does not exist
[javac] import org.eclipse.ui.plugin.AbstractUIPlugin;
[javac] ^
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:23: error: package org.osgi.framework does not exist
[javac] import org.osgi.framework.BundleContext;
[javac] ^
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:28: error: cannot find symbol
[javac] public class Activator extends AbstractUIPlugin {
[javac] ^
[javac] symbol: class AbstractUIPlugin
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:56: error: cannot find symbol
[javac] public void start(BundleContext context) throws Exception {
[javac] ^
[javac] symbol: class BundleContext
[javac] location: class Activator
[javac] /usr/local/hadoop/hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java:62: error: cannot find symbol
....

from hadoop2x-eclipse-plugin.

happtim avatar happtim commented on August 14, 2024

i used eclipse installer install eclipse.

from hadoop2x-eclipse-plugin.

kumaravelkandhan avatar kumaravelkandhan commented on August 14, 2024

Im also getting same exceptions @Riddle4045.. Could you tell, how you configured the eclipse path.
-Declipse.home=/usr/lib/eclipse/. may i know from where you configured /usr/lib

from hadoop2x-eclipse-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.