简体   繁体   English

更新后,Eclipse插件消失了

[英]Eclipse plug-ins disappeared after update

Have been updated Eclipse PDT using Window->Check for Updates feature. 已使用Window->Check for Updates功能更新了Eclipse PDT。 After restart all trird-party plug-ins seems like switched off. 重新启动后,所有trird-party插件似乎都关闭了。

Starting with -clean command line key doesn't helps. -clean命令行键开始没有帮助。

Eclipse Installation Detals contains information about all my plug-ins correctly. Eclipse Installation Detals包含有关我所有插件的信息。


Error log: 错误日志:

eclipse.buildId=M20090917-0800
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ru_RU
Framework arguments:  -product org.eclipse.epp.package.php.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.php.product

!ENTRY org.eclipse.team.core 4 0 2009-11-24 12:52:00.804
!MESSAGE Could not instantiate provider org.eclipse.team.svn.core.svnnature for project Search.
!STACK 1
org.eclipse.team.core.TeamException: Could not instantiate provider org.eclipse.team.svn.core.svnnature for project Search.
    at org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:165)
    at org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:235)
    at org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:507)
    at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.isMappedToCVS(CVSLightweightDecorator.java:192)
    at org.eclipse.team.internal.ccvs.ui.CVSLightweightDecorator.decorate(CVSLightweightDecorator.java:147)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)
    at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)
    at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)
    at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.eclipse.team.core 4 0 2009-11-24 12:52:00.804
!MESSAGE Could not instantiate provider org.eclipse.team.svn.core.svnnature for project Search.

Mar Cel was right: Mar Cel是对的:

Here i have write it in my german language wiki. 在这里,我用我的德语wiki写它。 You need to chown the eclipse-programm-folder to full access permissions for the workspace-owner. 您需要将eclipse-programm-folder命名为workspace-owner的完全访问权限。 Start eclipse. 开始日食。 Stop it, Rechange the owner back to root, and restart eclipse again.. After that, all works well for me (Eclipse 3.7.2) 停止它,将所有者重新更改回root,然后重新启动eclipse。之后,一切都适合我(Eclipse 3.7.2)

Wiki http://wiki.xstable.de/doku.php/entwicklungsumgebung:eclipse:faq?&#keine_plugins_mehr_in_eclipse_nach_update Wiki http://wiki.xstable.de/doku.php/entwicklungsumgebung:eclipse:faq?&#keine_plugins_mehr_in_eclipse_nach_update

This seems to be an issue with writing permission of the Eclipse executing user. 这似乎是Eclipse执行用户的写权限问题。 My guess is that the user can write metadata to workspace, therefore Eclipse shows you that the plugins were installed successfully but are obviously not available in the GUI, as none of the features were really installed in Eclipse itself. 我的猜测是用户可以将元数据写入工作空间,因此Eclipse向您显示插件已成功安装但显然在GUI中不可用,因为Eclipse本身并未真正安装任何功能。

Just alter the Eclipse program folders to give full permissions to the user actually executing Eclipse. 只需更改Eclipse程序文件夹即可为实际执行Eclipse的用户提供完全权限。 Eclipse will then recognize that the metadata is wrong, repair them, and let you install the plugins once again. 然后,Eclipse将识别出元数据错误,修复它们,并让您再次安装插件。 After that, all features will be available. 之后,所有功能都将可用。

Solution is use Equinox p2 Installer ! 解决方案是使用Equinox p2安装程序 There is no other offline ways to install/reinstall plugins or features. 没有其他脱机方法可以安装/重新安装插件或功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM