插件不会安装在 Eclipse 上
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7638321/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Plugins won't install on Eclipse
提问by user977100
I am trying to install subversive and checkstyle onto Eclipse IDE for Java Developers however the following message appears:
我正在尝试将 subversive 和 checkstyle 安装到 Eclipse IDE for Java Developers 上,但是出现以下消息:
"Cannot complete the install because one or more required items could not be found. Software currently installed: Shared profile 1.0.0.1316138460759 (SharedProfile_epp.package.java 1.0.0.1316138460759) Missing requirement: Shared profile 1.0.0.1316138460759 (SharedProfile_epp.package.java 1.0.0.1316138460759) requires 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be found"
“无法完成安装,因为找不到一个或多个必需的项目。当前安装的软件:共享配置文件 1.0.0.1316138460759 (SharedProfile_epp.package.java 1.0.0.1316138460759) 缺少要求:共享配置文件 1.0.0.136.packaged075Shared profile1.0.0.1310.1316138460759 .0.1316138460759) 需要 'org.maven.ide.eclipse [1.0.100.20110804-1717]' 但找不到”
What does it mean? Is there another way to install them as I need both plugins for my course.
这是什么意思?有没有另一种方法来安装它们,因为我的课程需要两个插件。
Please help and thank you :)
请帮助并感谢您:)
回答by Brian
Try running Eclipse as administrator, I just had the same issue and this worked for me.
尝试以管理员身份运行 Eclipse,我遇到了同样的问题,这对我有用。
回答by user977100
There's an alternative to running Eclipse as an administrator: you can manually give write permissions to your "eclipse" folder for all users (or just your current user). This way Windows/UAC won't pop up the security question that you see when you run programs as admin.
除了以管理员身份运行 Eclipse,还有一种替代方法:您可以为所有用户(或仅当前用户)手动授予对“eclipse”文件夹的写权限。这样 Windows/UAC 就不会弹出您以管理员身份运行程序时看到的安全问题。
回答by duvlinia
Hi I had the same problem just yesterday. I was uploading SDK for android and found your question in a google search.
嗨,我昨天也遇到了同样的问题。我正在上传适用于 android 的 SDK,并在谷歌搜索中找到了您的问题。
I reverted back to an older version of eclipse. Link to older version of eclipse
我恢复到旧版本的 eclipse。链接到旧版本的 eclipse
This solved it for me.
这为我解决了它。
Remember to delete eclips from your program files. You do this by just physically deleting the file from program files (not through uninstall). Then also make sure you delete your workbench. This is a file called workbench in your docs. Well mine was in my docs, it could be somewhere else on your system.
请记住从您的程序文件中删除 eclips。您只需从程序文件中物理删除该文件(而不是通过卸载)。然后还要确保删除您的工作台。这是您的文档中名为 workbench 的文件。好吧,我的文档在我的文档中,它可能位于您系统上的其他位置。
I am using windows 7.
我正在使用 Windows 7。
Best of luck.
祝你好运。
回答by Marc Meyer
I had this problem, but I had to dig harder to fix it.
我有这个问题,但我不得不更努力地解决它。
The source of my problem was the shortcut to launch Eclipse had this in the Target field:
我的问题的根源是启动 Eclipse 的快捷方式在 Target 字段中有这个:
"C:\Program Files\eclipse\eclipse.exe" -configuration C:\Program Files\eclipse\configuration
"C:\Program Files\eclipse\eclipse.exe" -configuration C:\Program Files\eclipse\configuration
The problem with this is that without double quotes around the "-configuration C:\Program Files\eclipse\configuration" section it would hit that space in 'Program Files' and use C:\Program for storing configuration some of the time. Generally, if you have C:\Program you should make sure programs didn't put random files in there by mistake.
这样做的问题是,如果在“-configuration C:\Program Files\eclipse\configuration”部分没有双引号,它会在“Program Files”中找到该空间并在某些时候使用 C:\Program 来存储配置。一般来说,如果你有 C:\Program 你应该确保程序没有错误地把随机文件放在那里。
To fix this I had to move the configuration files from C:\Program to C:\Program Files\eclipse\configuration, picking and choosing along the way. Change the Target field to:
为了解决这个问题,我不得不将配置文件从 C:\Program 移动到 C:\Program Files\eclipse\configuration,并在此过程中进行挑选。将目标字段更改为:
"C:\Program Files\eclipse\eclipse.exe" "-configuration C:\Program Files\eclipse\configuration"
"C:\Program Files\eclipse\eclipse.exe" "-configuration C:\Program Files\eclipse\configuration"
and I was good to go.
我很高兴去。
回答by pvbemmelen62
I had the same problem, and I solved it by setting
我遇到了同样的问题,我通过设置解决了
"Contact all update sites during install to find required software"
“在安装过程中联系所有更新站点以查找所需的软件”
to true.
为真。
(I used the Eclipse install manager, in Eclipse IDE for Java Developers, Version: Indigo Service Release 1 )
(我在 Eclipse IDE for Java Developers 中使用了 Eclipse 安装管理器,版本:Indigo Service Release 1)
回答by Andrew Lazarus
In my case, updating to the latest version of Eclipse (Juno) did the trick. Perhaps your add-on won't run on your version?
就我而言,更新到最新版本的 Eclipse (Juno) 成功了。也许您的附加组件无法在您的版本上运行?
回答by shoe
All I had to do was completely open up full permissions for all users to the directory. This is dangerous if you have a multi-user system but Windows 7 seems to default to giving processes not very high permission levels; some processes (such as Eclipse Updated) don't know how to deal with this and request user permission, so they just bomb out. Easy fix: full control to all users and processes for the Eclipse Directory.
我所要做的就是完全开放所有用户对该目录的完全权限。如果您有一个多用户系统,这很危险,但 Windows 7 似乎默认为进程提供不是很高的权限级别;一些进程(例如 Eclipse Updated)不知道如何处理这个并请求用户许可,所以他们只是轰炸。轻松修复:完全控制 Eclipse 目录的所有用户和进程。
回答by chepukha
I think you need the maven plugin in order to install your plugin. If that's the case, you can follow this this instructionto install it.
我认为您需要 maven 插件才能安装您的插件。如果是这种情况,您可以按照此说明进行安装。
回答by Ratha
Use eclipse update manager to install the plugins.. Then it will automatically select dependent plugins..You dont need to bother about dependent plugins in that case
使用eclipse更新管理器安装插件..然后它会自动选择依赖插件..在这种情况下你不需要担心依赖插件