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:
- cd /usr/local/eclipse
- sudo ./eclipse
- Help-Install new softwares...
- 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)
- Select All, then Next
- When finishing, please restart eclipse
and
http://eastmond.org/blog/?p=29#comments