The org.eclipse import cannot be resolved

I have cloned a java git project with Eclipse, but I have a lot of errors because I cannot resolve these imports:

import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;

      

What should I do?

I am using Eclipse IDE for Java Developers, version: Mars Release (4.5.0).

Solution: The source was the eclipse plugin and I needed the JAVA EE Eclipse to compile and run it. Thanks for the help greg-449.

+3


source to share


1 answer


The Eclipse IDE for Java Developers does not include the Eclipse plug-in development environment required to create and run this project.

You can install it using "Help> Install New Software". Go to the main site for your version of Eclipse (Mars in your case) and install the "Eclipse Plugin Development Environment".



Please note that the code you are trying to create is an Eclipse plugin and will only run as part of Eclipse.

+4


source







All Articles