Egit is installed (came with Juno), but does not show at all

扶醉桌前 提交于 2019-12-09 03:32:29

问题


I want to use GIT in eclipse, and preferably EGit, for it's support from the eclipse community itself. However, despite eclipse claiming the required plugins are installed, it does not appear in the perspectives, import and settings menu's.

I am using Eclipse Juno for Java EE, and have confirmed the following installs:

When I update software, there are no more updates available. When I go to the repository for Egit, or JGit for that matter, eclipse tells me the plugins are already installed.

Window > Preferences > Team contains no Git item, only CVS and SVN. Import project contains no Git option. Perspective window contains no Git repo option.


回答1:


Had the same problem in Eclipse Luna

Looking into the error log, I found:

org.eclipse.egit.ui
Error
Fri Feb 27 15:36:06 CET 2015
FrameworkEvent ERROR

org.osgi.framework.BundleException: Could not resolve module: org.eclipse.egit.ui [844]
Bundle was not resolved because of a uses contraint violation.

Starting eclipse with the -clean command line option fixed the problem for me.




回答2:


I fixed this by running Eclipse as root user and installing the plugins again. Then I ran Eclipse under my normal user account and it was fine - everything showed up.

Version: 3.8.1 Build id: debbuild




回答3:


Checking the log file of eclipse could always helps you to address this kind of problems.

I also had the same problem with Eclipse Luna Service Release 2 (4.4.2), I fixed the problem by downgrade the version of EGit from 4.0.1 to 3.7.1.




回答4:


I also faced similar problem and ran eclipse from CMD -> c:\eclipse\eclipse.exe -clean and it solved my problem.




回答5:


I had hoped for an easy solution, so I would not have to do a reïnstall of eclipse meaning I'd have to reïnstall plugins and check all my settings etc. again.. I have to work though, so I did a clean install of eclipse (wiped it all), and got me a copy of 64-bit Juno for Java EE which came without EGit/JGit installed. Installed it from the repo and it works now.

Shame we couldn't figure this out, but the coding must go on!




回答6:


I also faced the same problem with Eclise Juno. After unistalling the Egit plugin and reinstalling , it worked.




回答7:


I had the same problem with Eclipse Mars 2. Fixed that by installing the version 4.0 of EGit from here: http://wiki.eclipse.org/EGit/FAQ#Where_can_I_find_older_releases_of_EGit.3F




回答8:


In my case, JDK was a problem. I had JDK 1.6.0_27 installed and changed this to jdk1.8.0_111. Then it works well.



来源:https://stackoverflow.com/questions/14444726/egit-is-installed-came-with-juno-but-does-not-show-at-all

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!