安装Eclipse扩展时出错

时间:2016-02-06 00:11:03

标签: php angularjs eclipse

我正在尝试为Eclipse IDE(适用于PHP开发人员的Helios Release)安装AngularJS扩展,但我一直收到以下错误消息:

Cannot complete the install because one or more required items could not be found.
  Software being installed: AngularJS support for PHP (PDT) 1.1.0.201511091212 (angularjs-eclipse-php-feature.feature.group 1.1.0.201511091212)
  Missing requirement: Tern - Eclipse 1.1.0.201511082254 (tern.eclipse 1.1.0.201511082254) requires 'bundle org.eclipse.swt 3.7.0' but it could not be found
  Cannot satisfy dependency:
    From: AngularJS support for PHP (PDT) 1.1.0.201511091212 (angularjs-eclipse-php-feature.feature.group 1.1.0.201511091212)
    To: org.eclipse.angularjs.php.core [1.1.0.201511091212]
  Cannot satisfy dependency:
    From: Eclipse AngularJS PHP - Core 1.1.0.201511091212 (org.eclipse.angularjs.php.core 1.1.0.201511091212)
    To: bundle tern.eclipse 0.0.0

我该怎么办?我是新手使用eclipse

1 个答案:

答案 0 :(得分:1)

org.eclipse.swt检查(eclipse menu) > Help > Installation Details > (select) Plugins (tab) > (search for) org.eclipse.swt > (look at) Version插件的当前安装情况。

如果插件不存在或版本不同/更小,那么您需要先安装/更新org.eclipse.swt插件。

顺便说一下,Helios太旧了。它现在是Mars,所以尝试获取最后一个版本的eclipse,我认为你不会遇到这个问题。