由于依赖性冲突,Eclipse Photon无法完成安装 [英] Eclipse Photon cannot complete the install because of a conflicting dependency

查看:319
本文介绍了由于依赖性冲突,Eclipse Photon无法完成安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天前,在Windows 10上,我从Eclipse Oxygen升级到了Photon。今天,我要求它检查更新,它告诉我:

 由于依赖冲突,因此无法完成安装。 
正在安装的软件:Eclipse XML编辑器和工具3.10.0.v201804210200(org.eclipse.wst.xml_ui.feature.feature.group 3.10.0.v201804210200)
当前安装的软件:Eclipse Java Web Developer工具3.9.0.v201803221834(org.eclipse.jst.web_ui.feature.feature.group 3.9.0.v201803221834)
一次只能安装以下之一:
DTD Editor infopops 1.0。 400.v201707252002(org.eclipse.wst.dtd.ui.infopop 1.0.400.v201707252002)
DTD编辑器infopops 1.0.400.v201309112106(org.eclipse.wst.dtd.ui.infopop 1.0.400.v201309112106 )
DTD编辑器infopops 1.0.400.v201711201733(org.eclipse.wst.dtd.ui.infopop 1.0.400.v201711201733)
无法满足依赖项:
来自:Eclipse Java Web Developer Tools 3.9.0.v201803221834(org.eclipse.jst.web_ui.feature.feature.group 3.9.0.v201803221834)
收件人:org.eclipse.equinox.p2.iu; org.eclipse.wst.ws_ui.feature.feature.group [3.8.1.v201803221834,3.8.1.v201803221834]
无法满足依赖关系:
来自:Web服务工具3.8.1.v201803221834(org .eclipse.wst.ws_ui.feature.feature.group 3.8.1.v201803221834)
收件人:org.eclipse.equinox.p2.iu; org.eclipse.wst.xml_ui.feature.feature.group [3.9.2.v201803221834,3.9.2.v201803221834]
无法满足依赖项:
来自:Eclipse XML编辑器和工具3.10.0.v201804210200 (org.eclipse.wst.xml_ui.feature.feature.group 3.10.0.v201804210200)
收件人:org.eclipse.equinox.p2.iu; org.eclipse.wst.dtd.ui.infopop [1.0.400.v201711201733,1.0.400.v201711201733]
无法满足依赖项:
来自:Eclipse XML编辑器和工具3.9.2.v201803221834(org .eclipse.wst.xml_ui.feature.feature.group 3.9.2.v201803221834)
发送至:org.eclipse.equinox.p2.iu; org.eclipse.wst.dtd.ui.infopop [1.0.400.v201707252002,1.0.400.v201707252002]

在此之前,我收到错误消息正在搜索替代解决方案...,遇到了问题。,其中有未找到解决方法



我现在要做什么?

解决方案

我使用了Eclipse Oxygen 3a的原始安装(即只是下载了一个压缩文件),并且在成功地从Oxygen 3a升级到Photon后,我在进行检查更新。类似的错误已经


  • 单击下一步> 开始安装。消息无法执行操作。计算替代解决方案可能需要一段时间...。最终,您应该会看到一个安装修复页面。将选定的选项从保持安装相同... 更改为更新我的安装...




  • 单击下一步> ,然后会出现安装详细信息屏幕显示,列出要安装的每个项目的名称和版本。 点击下一步> ,接受条款并点击完成。最终,将邀请您重新启动Eclipse。


  • 重新启动后,帮助>关于>安装详细信息>已安装的软件现在应显示与先前屏幕截图中捕获的版本相同。特别是,您之前使用检查更新 Eclipse Web开发人员工具 Eclipse XML编辑器和工具)升级时遇到的问题已得到解决。升级到版本3.10:




  • 作为最终的健全性检查:




    • 帮助>检查更新 现在应报告 未找到更新

    • 打开Eclipse的错误日志。最终重启后应该没有错误。




  • 注意:


    1. 我感到很欣慰的是,在执行更新时打开 Progress (进度)视图可以看到在升级似乎已冻结。

    2. 我将Oxygen-3a到Photon升级中的项目与原始安装的Photon中的项目进行了比较,它们并不相同。这不足为奇,除非您遇到新问题,否则就不是真正的问题。

    3. 我想如果升级使用过的和改进的Eclipse Oxygen安装,您可能会在上述细节上有所变化。 3a,而不是我使用的干净版本。

    4. 您可能会考虑只迁移到全新安装的Photon而不是升级Oxygen,尽管我意识到,就定制配置和插件而言,这种方法可能确实很痛苦。

    5. 最后,




      On Windows 10 I upgraded from Eclipse Oxygen to Photon a few days ago. Today I asked it to check for updates, and it told me this:

      Cannot complete the install because of a conflicting dependency.
        Software being installed: Eclipse XML Editors and Tools 3.10.0.v201804210200 (org.eclipse.wst.xml_ui.feature.feature.group 3.10.0.v201804210200)
        Software currently installed: Eclipse Java Web Developer Tools 3.9.0.v201803221834 (org.eclipse.jst.web_ui.feature.feature.group 3.9.0.v201803221834)
        Only one of the following can be installed at once: 
          DTD Editor infopops 1.0.400.v201707252002 (org.eclipse.wst.dtd.ui.infopop 1.0.400.v201707252002)
          DTD Editor infopops 1.0.400.v201309112106 (org.eclipse.wst.dtd.ui.infopop 1.0.400.v201309112106)
          DTD Editor infopops 1.0.400.v201711201733 (org.eclipse.wst.dtd.ui.infopop 1.0.400.v201711201733)
        Cannot satisfy dependency:
          From: Eclipse Java Web Developer Tools 3.9.0.v201803221834 (org.eclipse.jst.web_ui.feature.feature.group 3.9.0.v201803221834)
          To: org.eclipse.equinox.p2.iu; org.eclipse.wst.ws_ui.feature.feature.group [3.8.1.v201803221834,3.8.1.v201803221834]
        Cannot satisfy dependency:
          From: Web Services Tools 3.8.1.v201803221834 (org.eclipse.wst.ws_ui.feature.feature.group 3.8.1.v201803221834)
          To: org.eclipse.equinox.p2.iu; org.eclipse.wst.xml_ui.feature.feature.group [3.9.2.v201803221834,3.9.2.v201803221834]
        Cannot satisfy dependency:
          From: Eclipse XML Editors and Tools 3.10.0.v201804210200 (org.eclipse.wst.xml_ui.feature.feature.group 3.10.0.v201804210200)
          To: org.eclipse.equinox.p2.iu; org.eclipse.wst.dtd.ui.infopop [1.0.400.v201711201733,1.0.400.v201711201733]
        Cannot satisfy dependency:
          From: Eclipse XML Editors and Tools 3.9.2.v201803221834 (org.eclipse.wst.xml_ui.feature.feature.group 3.9.2.v201803221834)
          To: org.eclipse.equinox.p2.iu; org.eclipse.wst.dtd.ui.infopop [1.0.400.v201707252002,1.0.400.v201707252002]
      

      Before this I get an error 'Searching alternate solutions…' has encountered a problem. with No remedy found in the dialog.

      What do I do now?

      解决方案

      I used a virgin installation (i.e. just an unzip of a download) of Eclipse Oxygen 3a, and after successfully upgrading from Oxygen 3a to Photon I replicated your conflicting dependency problem when doing Check for Updates. A similar error has already been reported. The solution that worked for me is:

      • Help > Install New Software..., then set Work with to http://download.eclipse.org/webtools/repository/photon/
      • A list of Available Software is instantly shown. Select Web Tools Platform (WTP), or other option(s) as appropriate, depending on your existing Eclipse environment. Take a screen shot so you know the correct version to expect for each product after the installation.

      • Click Next > to start installation. Don't be discouraged by the messages "Cannot perform operation. Computing alternate solutions, may take a while... ". Eventually you should see an Install Remediation Page. Change the selected option from Keep my installation the same... to Update my installation....

      • Click Next > and the Install Details screen will be shown, listing the name and version of each item to be installed. Click Next >, accept terms and click Finish. Eventually you will be invited to restart Eclipse.

      • After the restart Help > About > Installation Details > Installed Software should now show the same versions that were captured in your earlier screen shot. In particular, the items that you had problems upgrading earlier using Check for Updates (Eclipse Web Developer Tools and Eclipse XML Editors and Tools) have been upgraded to version 3.10:

      • As final sanity checks:

        • Help > Check For Updates should now report "No updates were found".
        • Open Eclipse's Error Log. There should be no errors following the final restart.

      Notes:

      1. I find it comforting to have the Progress view open while performing the updates to see that changes really are being made when the upgrade seems frozen.
      2. I compared the items in my Oxygen-3a-to-Photon upgrade with those in a virgin install of Photon, and they are not identical. That's hardly surprising, and not really a concern unless you hit new problems.
      3. I'm guessing that you might get variations in the details described above if upgrading a used and modified installation of Eclipse Oxygen 3a, rather than the clean version which I used.
      4. You might consider just migrating to a fresh install of Photon rather than upgrading Oxygen, though I realize that approach might be a real pain with respect to customized configuration and plugins.
      5. Finally, note this somewhat ominous warning from Eclipse: "Updating from Oxygen to Photon should work but is not extensively tested for all features". Ugh!


      7/14/18 Updates and clarifications:

      • The WTP 3.10.0 upgrade involves the removal of "Eclipse Java Web Developer Tools" which "adds support for JSP files (but not Java Servlets), and complete support for "dynamic" web projects requires the full Eclipse Java EE Developer Tools Feature". I can't find any formal documentation on the removal, but two new features are added in WTP 3.10.0: "Eclipse Java Web Developer Tools User Documentation" and "Eclipse Java Web Development Core".

      • On an Eclipse instance that had been upgraded from Oxygen to Photon, and then had WTP upgraded to 3.10.0, I created and debugged a servlet using Tomcat 9.0.10. JSPs also work. No issues were found (though obviously that doesn't mean there aren't any).

      • The two screenshots below show matches filtered by "Web" in Installed Software on the screen Help > About Eclipse IDE > Installation Details > Installed Software. The first is for an Eclipse instance which was originally on Oxygen 3a, but was upgraded to Photon. The second is for a Photon instance created by unzipping a Photon download. Note that "Java Web Developer Tools" exists in the unzipped Photon instance, but not the instance upgraded from Oxygen.

      这篇关于由于依赖性冲突,Eclipse Photon无法完成安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆