在 Ubuntu 9.10 中安装 Eclipse PDT 时出错

发布于 2024-08-15 12:36:55 字数 757 浏览 6 评论 0原文

我通过 Ubuntu 软件中心安装了 Eclipse。之后,我按照此 wiki 中的说明进行操作 (http:// wiki.eclipse.org/PDT/Installation#Eclipse_3.5_.2F_Galileo_.2F_PDT_2.2),我遇到了以下错误:

无法完成安装,因为找不到一个或多个必需的项目。 正在安装的软件:PHP 开发工具 (PDT) 运行时功能 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc (org.eclipse.php.feature.group 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc) 缺少要求:PHP 开发工具 (PDT) 运行时功能 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc(org.eclipse.php.feature.group 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc)需要“org.eclipse.wst.xsl”。 feature.feature.group [1.0.0,2.0.0)' 但找不到

我尝试谷歌搜索,但找不到任何有关如何安装 'org.eclipse.wst.xsl.feature.feature.group 的说明'。

非常感谢任何帮助。

干杯, 米奇

I installed my Eclipse via the Ubuntu Software Center. Afterwhich, I follow the instruction in this wiki (http://wiki.eclipse.org/PDT/Installation#Eclipse_3.5_.2F_Galileo_.2F_PDT_2.2) and I met with the following errors:

Cannot complete the install because one or more required items could not be found.
Software being installed: PHP Development Tools (PDT) Runtime Feature 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc (org.eclipse.php.feature.group 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc)
Missing requirement: PHP Development Tools (PDT) Runtime Feature 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc (org.eclipse.php.feature.group 2.2.0.v200912030932-7L7J-F8NcJKhTcJmKhmc) requires 'org.eclipse.wst.xsl.feature.feature.group [1.0.0,2.0.0)' but it could not be found

I tried googling but I can't find any instruction on how to install 'org.eclipse.wst.xsl.feature.feature.group'.

Any help is much appreciated.

Cheers,
Mickey

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(10

゛清羽墨安 2024-08-22 12:36:55

感谢您的所有回复。然而,没有一个真正适用于 Ubuntu 版本的 Eclipse。我最终所做的是从 Eclipse 下载 zip 并按照本安装手册的 eclipse 部分进行操作。

http://flurdy.com/docs/eclipse/install.html

再次感谢所有回复:)

Thanks for all the responses. However, none really works with the Ubuntu version of Eclipse. What I did in the end is to download the zip from Eclipse and follow the eclipse section of this installation manual.

http://flurdy.com/docs/eclipse/install.html

Thanks again for all the responses :)

残龙傲雪 2024-08-22 12:36:55

您需要安装 Webtools (WST)。尝试从更新站点安装它:http://download.eclipse.org/webtools/updates。在 Web Tools Platform 下,您将找到您正在寻找的 Eclipse XSL Developer Tools。另请确保从页面上提到的更新站点安装 DLTK 2.0 (http ://download.eclipse.org/technology/dltk/updates-dev/2.0/)。

请注意,您正在尝试安装 PDT (2.2) 的开发版本,这可能有点棘手。对于一般用途,您应该使用 PDT (2.1) 的发行版本。要安装最新的发行版包,请访问 http://download.eclipse .org/technology/epp/packages/galileo 并安装 EPP PHP 功能(EPP 代表 Eclipse 打包项目)。这会将您需要的所有内容安装在一个需求包中。

You need the Webtools (WST) installed. Try installing it from the update site at: http://download.eclipse.org/webtools/updates. Under Web Tools Platform you will find Eclipse XSL Developer Tools which is what you are looking for. Also make sure you install DLTK 2.0 from the update site mentioned on the page (http://download.eclipse.org/technology/dltk/updates-dev/2.0/).

Note that you are attempting to install a development version of PDT (2.2), which may be a bit tricky. For general purpose you should use the release version of PDT (2.1). To install the latest release package, it is based to go to http://download.eclipse.org/technology/epp/packages/galileo and install the EPP PHP Feature (EPP stands for Eclipse Packaging Project). This installs everything you need in one need package.

够钟 2024-08-22 12:36:55

忘记从存储库安装。安装 Eclipse PDT 全部集成在一个包中。这就是你所需要的。

Forget about installing from repository. Install Eclipse PDT all in one package. This is what you need.

娜些时光,永不杰束 2024-08-22 12:36:55

我只是在这里猜测,但我怀疑可能是 PHP 基础设施缺失。尝试以下操作:

apt-get install php

或使用 Synaptic 包管理器安装 PHP

,看看是否有帮助!

I'm just guessing here, but I suspect it could be that the PHP infrastructure is missing. Try something like:

apt-get install php

or use the Synaptic package manager to install PHP

and see if that helps!

じее 2024-08-22 12:36:55

我在 Jaunty 中使用 Ubuntu 的 Eclipse 原生版本插件时遇到了类似的问题。 Jaunty 的 Eclipse 落后了几个版本。最终直接从 eclipse.org 安装 Eclipse。

I had similar problems using plugins with Ubuntu's stock version of Eclipse in Jaunty. Jaunty's Eclipse was a couple of versions behind. Ended up installing Eclipse directly from eclipse.org.

半窗疏影 2024-08-22 12:36:55

尝试下载 eclipse classic(通常大约 161 megs)并确保您已添加 dltk 更新站点。

try downloading the eclipse classic (usually around 161 megs) and make sure you've added the dltk update site.

缱绻入梦 2024-08-22 12:36:55

如果您有 Karmic Koala,请打开终端并:

  • sudo add-apt-repository ppa:yogarine/eclipse/ubuntu
  • sudo apt-get update
  • sudo apt-get install eclipse-pdt

注意:很长一段时间以来,除了存储库之外,我一直在使用独立的 Eclipse PDT。有了这个 yogarine 的精彩更新> 我立即切换到存储库包。它对我来说工作得更快!

If you have Karmic Koala, open Terminal and:

  • sudo add-apt-repository ppa:yogarine/eclipse/ubuntu
  • sudo apt-get update
  • sudo apt-get install eclipse-pdt

Note: For a long time I have been using standalone Eclipse PDT apart from the repository one. With this wonderful update by yogarine I switched to the repository package at once. It works way faster for me!

再见回来 2024-08-22 12:36:55

我遇到了同样的问题,事实证明我的“Eclipse更新站点”没有按照弗朗西斯在此处指出的那样填充...但是,他的链接有一个大写的G,它应该是小写的“g”

http://download.eclipse.org/releases/galileo

如果遇到此问题,请在您的软件站点中使用该链接 。当然,这至少给我带来了另一个问题,那就是:

安装项目时发生错误
会话上下文是:(profile=PlatformProfile,phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install,操作数=null --> [R]org.eclipse.ant.ui 3.4.1。 v20090901_r351,action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction)。
找不到 osgi.bundle、org.eclipse.ant.ui、3.4.1.v20090901_r351 的工件文件。

I had the same problem, turns out my "Eclipse update site" was not populated as noted here by Francis... however, his link had a capital G where it should have been a lower case "g"

http://download.eclipse.org/releases/galileo

use that in your software sites if having this issue. of course, this presents another issue to me at least, which is:

An error occurred while installing the items
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]org.eclipse.ant.ui 3.4.1.v20090901_r351, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
The artifact file for osgi.bundle,org.eclipse.ant.ui,3.4.1.v20090901_r351 was not found.

终遇你 2024-08-22 12:36:55

我有完全相同的问题。为了从帮助->成功安装安装新软件菜单 我必须添加两个额外的源,除了安装说明中提到的 DLTK 和 PDT 源之外 (http://wiki.eclipse.org/PDT/Installation)。

这些是:

download.eclipse.org/releases/galileo(如上所述
download.eclipse.org/eclipse/updates/3.5

HTH

安迪

I had exactly the same problem. In order to do a successful install from the Help -> Install New Software menu I had to add two extra sources, above and beyond the DLTK and PDT sources mentioned in the installation instructions (http://wiki.eclipse.org/PDT/Installation).

These were:

download.eclipse.org/releases/galileo (as mentioned above)
download.eclipse.org/eclipse/updates/3.5

HTH

Andy

十雾 2024-08-22 12:36:55

WST 是网络工具。您可以通过安装 Java EE 版本的 Eclipse 来获取此信息,您可以从 eclipse.org 下载该版本。或者,您可以添加 Galileo 更新站点 并从那里安装 webtools 内容。事实上,在添加该更新站点并重试 PDT 安装后,它可能(应该)正常工作。

WST is the web tools stuff. You can get this by installing the Java EE version of Eclipse from which you can download from eclipse.org. Alternatively you can add the Galileo update site and install the webtools stuff from there. In fact, after adding that update site and retrying your PDT installation it might (should) just work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文