Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
已安装Eclipse Marketplace客户端,但缺少_Eclipse_Ide - Fatal编程技术网

已安装Eclipse Marketplace客户端,但缺少

已安装Eclipse Marketplace客户端,但缺少,eclipse,ide,Eclipse,Ide,安装详细信息: 包:面向Web开发人员的Eclipse Java EE IDE 版本:Luna发行版(4.4.0) 构建id:20140612-0600 OS:Windows7 问题: Eclipse中的下拉帮助菜单中缺少Eclipse marketplace客户端: 尽管如此,该插件已安装并且是最新的。我可以在安装的软件部分看到这一点: 我已尝试重新安装插件并运行-clean,但没有任何更改,有什么想法吗?可能右键单击透视图标并选择重置将更新菜单以具有新安装的项目。插件可能存在p2安装时未

安装详细信息:

包:面向Web开发人员的Eclipse Java EE IDE

版本:Luna发行版(4.4.0)

构建id:20140612-0600

OS:Windows7

问题:

Eclipse中的下拉帮助菜单中缺少Eclipse marketplace客户端:

尽管如此,该插件已安装并且是最新的。我可以在安装的软件部分看到这一点:


我已尝试重新安装插件并运行
-clean
,但没有任何更改,有什么想法吗?

可能右键单击透视图标并选择重置将更新菜单以具有新安装的项目。

插件可能存在p2安装时未检测到的类加载问题

在本例中,您将看到插件已安装,因为它存在于Eclipse的p2元数据中。但是,OSGi框架可能无法在运行时解析插件/捆绑包的依赖关系。出现这种差异是因为p2引擎和OSGi框架使用不同的方法来解决依赖关系。p2引擎在存在多个版本的情况下精度较低,可以让您安装无法运行的插件。甚至可以通过安装一些完全无关的东西来破坏现有的插件,这些东西带来了第三方库的附加版本,比如日志记录。通常,OSGi检测到插件/捆绑包需要加载同一java包的两个版本。此版本控制冲突称为“使用约束冲突”

窗口->显示视图->错误日志打开“错误日志视图”。查找与“org.eclipse.epp.mpc.*”插件相关的标题中带有“FrameworkEvent ERROR”的日志

下面是由于org.eclipse.epp.mpc.ui需要同时加载org.apache.commons.logging包的两个版本而导致的版本控制冲突的示例。我可以通过从“plugins”目录中删除jcl.over.slf4j jar来解决这个问题。这使得Eclipse/p2认为已删除的jar仍在安装,因为p2在其元数据中有一条关于它的记录。实际上,我们在运行时只加载包的一个版本——由org.apache.commons.logging插件导出的版本

org.osgi.framework.BundleException: Could not resolve module: org.eclipse.epp.mpc.ui [334]
  Unresolved requirement: Require-Bundle: org.eclipse.epp.mpc.core; bundle-version="1.3.0"
    -> Bundle-SymbolicName: org.eclipse.epp.mpc.core; bundle-version="1.3.1.v20140820-1706"
       org.eclipse.epp.mpc.core [332]
         No resolution report for the bundle.  Bundle was not resolved because of a uses contraint violation.
  org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.eclipse.epp.mpc.core [osgi.identity; osgi.identity="org.eclipse.epp.mpc.core"; type="osgi.bundle"; version:Version="1.3.1.v20140820-1706"] because it is exposed to package 'org.apache.commons.logging' from resources org.apache.commons.logging [osgi.identity; osgi.identity="org.apache.commons.logging"; type="osgi.bundle"; version:Version="1.0.4.v201101211617"] and jcl.over.slf4j [osgi.identity; osgi.identity="jcl.over.slf4j"; type="osgi.bundle"; version:Version="1.7.2"] via two dependency chains.

Chain 1:
  org.eclipse.epp.mpc.core [osgi.identity; osgi.identity="org.eclipse.epp.mpc.core"; type="osgi.bundle"; version:Version="1.3.1.v20140820-1706"]
    require: (&(osgi.wiring.bundle=org.apache.commons.logging)(bundle-version>=1.0.4))
     |
    provide: osgi.wiring.bundle: org.apache.commons.logging
  org.apache.commons.logging [osgi.identity; osgi.identity="org.apache.commons.logging"; type="osgi.bundle"; version:Version="1.0.4.v201101211617"]

Chain 2:
  org.eclipse.epp.mpc.core [osgi.identity; osgi.identity="org.eclipse.epp.mpc.core"; type="osgi.bundle"; version:Version="1.3.1.v20140820-1706"]
    import: (&(osgi.wiring.package=org.apache.http.impl.client)(version>=4.1.0))
     |
    export: osgi.wiring.package=org.apache.http.impl.client; uses:=org.apache.commons.logging
  org.apache.httpcomponents.httpclient [osgi.identity; osgi.identity="org.apache.httpcomponents.httpclient"; type="osgi.bundle"; version:Version="4.2.6.v201311072007"]
    import: (&(osgi.wiring.package=org.apache.commons.logging)(version>=1.1.1))
     |
    export: osgi.wiring.package: org.apache.commons.logging
  jcl.over.slf4j [osgi.identity; osgi.identity="jcl.over.slf4j"; type="osgi.bundle"; version:Version="1.7.2"]
重新安装发动机总成
Oomph设置-org.eclipse.Oomph.Setup.feature.group Oomph安装SDK-org.eclipse.Oomph.Setup.SDK.feature.group


帮我解决这个问题

你能告诉我,你是如何重新安装的吗?我也面临同样的问题