2016-02-06 33 views
0

我试图安装AngularJS扩展Eclipse的IDE(太阳神发布PHP开发人员)的扩展名,当一个错误,但我不断收到以下错误信息:得到安装Eclipse的

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

+0

你的问题是因为你正在使用一个非常旧的Eclipse版本(这是需要捆绑org.eclipse.swt 3.7.0的问题)。 Helios在2010年推出。所以我建议你下载Eclipse JEE Distribution Mars版本(2015) – Angelo

回答

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,我想你不会面对这个问题。