2016-02-06 29 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,我想你不會面對這個問題。