2013-08-06 37 views
7

Tôi đang cố gắng để cài đặt plugin trong PDT Eclipse và tôi nhận được lỗi:Eclipse PDT cài đặt plugin

Cannot complete the install because one or more required items could not be found. 
    Software being installed: PHP Development Tools (PDT) 3.1.2.201212211235 (org.eclipse.php.feature.group 3.1.2.201212211235) 
    Missing requirement: PDT Debug UI Plug-in 3.1.2.201212211235 (org.eclipse.php.debug.ui 3.1.2.201212211235) requires 'bundle org.eclipse.dltk.debug.ui [4.0.0,5.0.0)' but it could not be found 
    Cannot satisfy dependency: 
    From: PHP Development Tools (PDT) 3.1.2.201212211235 (org.eclipse.php.feature.group 3.1.2.201212211235) 
    To: org.eclipse.php.debug.ui [3.1.2.201212211235] 

Trả lời

3

Thông báo này là khủng khiếp và có nghĩa là org.eclipse.dltk.debug.ui với 4.0.0 < = Phiên bản < 5.0.0 không có sẵn trong cài đặt nhật thực của bạn hoặc biểu mẫu các trang cập nhật nhật thực có sẵn trong hộp thoại Cài đặt.

Thêm Eclipse Dynamic Language Toolkit update site trong nhật thực Cài đặt hộp thoại và sau đó thử cài đặt lại PDT.

14

câu trả lời của dgolovins có hiệu quả đối với tôi.

Đầu tiên cài đặt ngôn ngữ động Toolkit: Trợ giúp -> Cài đặt phần mềm mới -> Add -> Vị trí: http://download.eclipse.org/technology/dltk/updates-dev/4.0-stable/

Sau đó cài đặt PDT: Trợ giúp -> Cài đặt phần mềm mới -> Add - > Vị trí: http://download.eclipse.org/tools/pdt/updates/latest

+0

công trình cho tôi (ubuntu 12) –

+0

Tuyệt vời. Cảm ơn bạn. – Sam

0

Trong Ubuntu 14.04 giải pháp được trình bày bởi @Manfred không giải quyết được sự cố cài đặt của tôi.

Sau đó, tôi đi theo giải pháp được trình bày trong PHPeclipse

Enabling PHP Support

As-standard, Eclipse does not come with support for PHP. This must be added, and added as root.

Launch Eclipse as root from the command line: 

    $ sudo eclipse (gksudo causes an unusual warning). 

When the "Welcome to Eclipse" screen is displayed, select Help->Install New Software... 

The "Galileo" site must be added, click "Add..." and input: 

    Name: Galileo Location: http://download.eclipse.org/releases/galileo/ 

Once this is available, select "Galileo" in the Work with: drop-down list. 

Enter "php" into the filter text, two entries should be displayed for "PHP Developer Tools (PDT)"; one under Programming Languages, 

another under Web, XML, and Java EE Development. Select both and click "Next >".

Verify that the items you wish to install are displayed on the "Install Details" screen and click "Finish". 
Eclipse will need restarted for the update to complete. 

With this complete, you should be able to launch Eclipse under a normal user account and select New->Project...->PHP->PHP Project.

Các vấn đề liên quan