The import org.eclipse cannot be resolved











up vote
3
down vote

favorite












I cloned a git java project with Eclipse, but I get many errors because I cant resolve these imports:



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


What should I do?



I use Eclipse IDE for Java Developers, Version: Mars Release (4.5.0).



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










share|improve this question
























  • Try cleaning your project. If it doesn't work, restart Eclipse and do again.
    – SatyaTNV
    Jul 27 '15 at 10:02












  • It's still not working. Should I download these from somewhere?
    – BlackCat
    Jul 27 '15 at 10:11










  • What you have is an Eclipse plugin project. How did you create this project?
    – greg-449
    Jul 27 '15 at 10:17






  • 1




    I'm not sure that 'Eclipse IDE for Java Developers' contains the Plugin Development Environment code. In the Preferences dialog do you have a 'Plug-in Development' entry?
    – greg-449
    Jul 27 '15 at 11:02








  • 1




    You can install it using 'Help > Install New Software', work with the main Mars site and install 'Eclipse Plugin Development Environment'. Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.
    – greg-449
    Jul 27 '15 at 11:32















up vote
3
down vote

favorite












I cloned a git java project with Eclipse, but I get many errors because I cant resolve these imports:



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


What should I do?



I use Eclipse IDE for Java Developers, Version: Mars Release (4.5.0).



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










share|improve this question
























  • Try cleaning your project. If it doesn't work, restart Eclipse and do again.
    – SatyaTNV
    Jul 27 '15 at 10:02












  • It's still not working. Should I download these from somewhere?
    – BlackCat
    Jul 27 '15 at 10:11










  • What you have is an Eclipse plugin project. How did you create this project?
    – greg-449
    Jul 27 '15 at 10:17






  • 1




    I'm not sure that 'Eclipse IDE for Java Developers' contains the Plugin Development Environment code. In the Preferences dialog do you have a 'Plug-in Development' entry?
    – greg-449
    Jul 27 '15 at 11:02








  • 1




    You can install it using 'Help > Install New Software', work with the main Mars site and install 'Eclipse Plugin Development Environment'. Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.
    – greg-449
    Jul 27 '15 at 11:32













up vote
3
down vote

favorite









up vote
3
down vote

favorite











I cloned a git java project with Eclipse, but I get many errors because I cant resolve these imports:



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


What should I do?



I use Eclipse IDE for Java Developers, Version: Mars Release (4.5.0).



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










share|improve this question















I cloned a git java project with Eclipse, but I get many errors because I cant resolve these imports:



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


What should I do?



I use Eclipse IDE for Java Developers, Version: Mars Release (4.5.0).



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







java eclipse jar import






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 27 '15 at 11:38

























asked Jul 27 '15 at 9:57









BlackCat

340418




340418












  • Try cleaning your project. If it doesn't work, restart Eclipse and do again.
    – SatyaTNV
    Jul 27 '15 at 10:02












  • It's still not working. Should I download these from somewhere?
    – BlackCat
    Jul 27 '15 at 10:11










  • What you have is an Eclipse plugin project. How did you create this project?
    – greg-449
    Jul 27 '15 at 10:17






  • 1




    I'm not sure that 'Eclipse IDE for Java Developers' contains the Plugin Development Environment code. In the Preferences dialog do you have a 'Plug-in Development' entry?
    – greg-449
    Jul 27 '15 at 11:02








  • 1




    You can install it using 'Help > Install New Software', work with the main Mars site and install 'Eclipse Plugin Development Environment'. Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.
    – greg-449
    Jul 27 '15 at 11:32


















  • Try cleaning your project. If it doesn't work, restart Eclipse and do again.
    – SatyaTNV
    Jul 27 '15 at 10:02












  • It's still not working. Should I download these from somewhere?
    – BlackCat
    Jul 27 '15 at 10:11










  • What you have is an Eclipse plugin project. How did you create this project?
    – greg-449
    Jul 27 '15 at 10:17






  • 1




    I'm not sure that 'Eclipse IDE for Java Developers' contains the Plugin Development Environment code. In the Preferences dialog do you have a 'Plug-in Development' entry?
    – greg-449
    Jul 27 '15 at 11:02








  • 1




    You can install it using 'Help > Install New Software', work with the main Mars site and install 'Eclipse Plugin Development Environment'. Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.
    – greg-449
    Jul 27 '15 at 11:32
















Try cleaning your project. If it doesn't work, restart Eclipse and do again.
– SatyaTNV
Jul 27 '15 at 10:02






Try cleaning your project. If it doesn't work, restart Eclipse and do again.
– SatyaTNV
Jul 27 '15 at 10:02














It's still not working. Should I download these from somewhere?
– BlackCat
Jul 27 '15 at 10:11




It's still not working. Should I download these from somewhere?
– BlackCat
Jul 27 '15 at 10:11












What you have is an Eclipse plugin project. How did you create this project?
– greg-449
Jul 27 '15 at 10:17




What you have is an Eclipse plugin project. How did you create this project?
– greg-449
Jul 27 '15 at 10:17




1




1




I'm not sure that 'Eclipse IDE for Java Developers' contains the Plugin Development Environment code. In the Preferences dialog do you have a 'Plug-in Development' entry?
– greg-449
Jul 27 '15 at 11:02






I'm not sure that 'Eclipse IDE for Java Developers' contains the Plugin Development Environment code. In the Preferences dialog do you have a 'Plug-in Development' entry?
– greg-449
Jul 27 '15 at 11:02






1




1




You can install it using 'Help > Install New Software', work with the main Mars site and install 'Eclipse Plugin Development Environment'. Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.
– greg-449
Jul 27 '15 at 11:32




You can install it using 'Help > Install New Software', work with the main Mars site and install 'Eclipse Plugin Development Environment'. Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.
– greg-449
Jul 27 '15 at 11:32












1 Answer
1






active

oldest

votes

















up vote
4
down vote



accepted










Eclipse IDE for Java Developers does not contain the Eclipse Plugin Development Environment needed to build and run this project.



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



Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.






share|improve this answer






















    protected by JJJ Nov 20 at 10:25



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    4
    down vote



    accepted










    Eclipse IDE for Java Developers does not contain the Eclipse Plugin Development Environment needed to build and run this project.



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



    Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.






    share|improve this answer



























      up vote
      4
      down vote



      accepted










      Eclipse IDE for Java Developers does not contain the Eclipse Plugin Development Environment needed to build and run this project.



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



      Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.






      share|improve this answer

























        up vote
        4
        down vote



        accepted







        up vote
        4
        down vote



        accepted






        Eclipse IDE for Java Developers does not contain the Eclipse Plugin Development Environment needed to build and run this project.



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



        Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.






        share|improve this answer














        Eclipse IDE for Java Developers does not contain the Eclipse Plugin Development Environment needed to build and run this project.



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



        Note that the code you are trying to build is an Eclipse plugin and will only run as part of Eclipse.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 1 '16 at 8:03

























        answered Jul 27 '15 at 11:36









        greg-449

        87.9k166296




        87.9k166296

















            protected by JJJ Nov 20 at 10:25



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            404 Error Contact Form 7 ajax form submitting

            How to know if a Active Directory user can login interactively

            TypeError: fit_transform() missing 1 required positional argument: 'X'