【问题标题】:Eclipse plugin install errorEclipse插件安装错误
【发布时间】:2012-02-26 00:58:01
【问题描述】:

我正在尝试为 Eclipse 安装 google 插件,但安装程序一直告诉我:

在执行过程中发生错误 org.eclipse.equinox.internal.p2.engine.phases.CheckTrust 阶段

我首先尝试从互联网安装,但由于速度不佳而取消了它。然后我下载它并尝试在本地安装,然后我遇到了这个问题。我使用的是 Eclipse 3.7.1,google 插件也适用于 3.7 版。

我也尝试通过删除任何名称为 equinox 的内容来清理配置文件夹,但这没有用。

有什么建议吗?谢谢!

错误日志如下:

!SESSION 2012-02-03 06:30:06.977 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.equinox.p2.engine 4 4 2012-02-03 06:33:17.752
!MESSAGE An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2012-02-03 06:33:17.752
!MESSAGE session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2012-02-03 06:33:17.752
!MESSAGE Error reading signed content.
!STACK 0
java.io.IOException: The file "/home/darkjh/eclipse/plugins/com.google.appengine.eclipse.core_2.5.1.v201201120043-rel-r37.jar" does not exist
    at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.<init>(ZipBundleFile.java:61)
    at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.<init>(ZipBundleFile.java:55)
    at org.eclipse.osgi.internal.signedcontent.SignedBundleHook.getSignedContent(SignedBundleHook.java:253)
    at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.checkCertificates(CertificateChecker.java:67)
    at org.eclipse.equinox.internal.p2.engine.phases.CertificateChecker.start(CertificateChecker.java:49)
    at org.eclipse.equinox.internal.p2.engine.phases.CheckTrust.completePhase(CheckTrust.java:50)
    at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:216)
    at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:84)
    at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:44)
    at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
    at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
    at org.eclipse.equinox.p2.operations.ProvisioningSession.performProvisioningPlan(ProvisioningSession.java:174)
    at org.eclipse.equinox.p2.operations.ProfileModificationJob.runModal(ProfileModificationJob.java:79)
    at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

【问题讨论】:

  • 您可以尝试重新安装 eclipse,并使用更新 URL(来自互联网)安装插件,如果您的连接不佳,请稍等 :)
  • 是的,这就是我最后会尝试的

标签: java eclipse google-app-engine eclipse-plugin


【解决方案1】:

好的,我认为这是 Eclipse 内部的失败。现在我已经下载了一个干净的,安装一切正常。

【讨论】:

    【解决方案2】:

    您似乎缺少具有给定名称的文件。 (com.google.appengine.eclipse.core_2.5.1.v201201120043-rel-r37.jar) 尝试使用您喜欢的搜索引擎搜索它并手动将其放置在指定位置。 (/home/darkjh/eclipse/plugins/)

    【讨论】:

    • 我已下载站点文件以进行本地安装。而且我设置为在本地安装插件,丢失的文件就在那里,安装程序应该将它复制到插件文件夹中。我刚刚将丢失的文件复制到插件文件夹中,并且错误继续声称另一个丢失的文件。这正常吗?我应该将所有安装文件复制到 eclipse/plugin 中?
    • 我相信你应该复制所有这些文件,是的。
    • 好的,我做到了,我已经将 GPE repo 中可以找到的所有文件复制到 eclipse 中的相应文件夹中。但它不断给出错误,例如我在插件文件夹中有一个 abc.jar 文件,它现在要求一个 abc 文件,没有 .jar 后缀。那是什么?我不认为这是安装程序的正常行为。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-02-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-12-03
    • 2011-07-22
    相关资源
    最近更新 更多