Solution to 'org.maven.ide.eclipse cannot be found when installing plugins in eclipse'

需要在eclipse上安装一些插件,但在安装过程中(不管什么插件),都报出这个错误:

Missing requirement: Shared profile 1.0.0.1308118925849 (SharedProfile_epp.package.java 1.0.0.1308118925849) requires 'org.maven.ide.eclipse [1.0.0.20110607-2117]' but it could not be found

从网络上查很多资料才知道原来对于indigo最新版本的eclipse在安装插件的时候需要以超级管理员的身份去运行Eclipse,才会安装成功。

具体如下:

环境: Ubuntu,Indigo eclipse

以root身份运行Eclispse:

  1. cd /usr/local/eclipse
  2. sudo ./eclipse
  3. Help-Install new softwares...
  4. Add or select a site(name and location[http://www.ne.jp/asahi/zigen/home/plugin/dbviewer/]) (这里安装的是db viewer for eclipse, from http://www.ne.jp/asahi/zigen/home/plugin/dbviewer/about_en.html
  5. Select All, then Next
  6. When finishing, please restart eclipse

Refer to http://msmvps.com/blogs/rfennell/archive/2011/07/18/solution-to-missing-requirement-shared-profile-1-0-0-1308118925849-error-when-installation-tee-sp1-on-eclipse-indigo.aspx

and

http://eastmond.org/blog/?p=29#comments

posted on 2011-10-20 17:29  -Anny-  阅读(755)  评论(1编辑  收藏  举报