Eclipse Tycho 失败:无法满足依赖关系:至:org.eclipse.equinox.p2.iu;工具win32.win32.x86_64org.eclipse.equinox.simpleconfigurator

问题描述 投票:0回答:1

我正在尝试使用 Tycho 构建 Eclipse RCP 应用程序,但失败了。

该应用程序有点取自 Vogella 的教程。

我运行“mvn clean verify”,收到的错误是:-

    [INFO] --- tycho-p2-repository:2.7.5:assemble-repository (default-assemble-repository) @ com.jim.mp.build.product ---
    [WARNING] Parameter 'qualifier' (user property 'buildQualifier') is read-only, must not be used in configuration
    [INFO]
    [INFO] --- tycho-p2-repository:2.7.5:archive-repository (default-archive-repository) @ com.jim.mp.build.product ---
    [WARNING] Parameter 'qualifier' (user property 'buildQualifier') is read-only, must not be used in configuration
    [INFO] Building zip: C:\My_Devs\Eclipse-Headless-Tycho-Vogella\com.jim.mp.build\releng\com.jim.mp.build.product\target\com.jim.mp.build.product-1.0.0-SNAPSHOT.zip
    [INFO]
    [INFO] --- tycho-p2-director:2.7.5:materialize-products (materialize-products) @ com.jim.mp.build.product ---
    [INFO] Installing product com.vogella.tasks.product.product for environment win32/win32/x86_64 to C:\My_Devs\Eclipse-Headless-Tycho-Vogella\com.jim.mp.build\releng\com.jim.mp.build.product\target\products\com.vogella.tasks.product.product\win32\win32\x86_64
    Installing com.vogella.tasks.product.product 0.0.1.
    Installation failed.
    Cannot complete the install because one or more required items could not be found.
            Software being installed: to-do 0.0.1 (com.vogella.tasks.product.product 0.0.1)
            Missing requirement: toolingwin32.win32.x86_64org.eclipse.equinox.simpleconfigurator 0.0.1 requires 'osgi.bundle; org.eclipse.equinox.simpleconfigurator 0.0.0' but it could not be found
            Cannot satisfy dependency:
                    From: to-do 0.0.1 (com.vogella.tasks.product.product 0.0.1)
                    To: org.eclipse.equinox.p2.iu; toolingcom.vogella.tasks.product.product.configuration [0.0.1,0.0.1]
            Cannot satisfy dependency:
                    From: toolingcom.vogella.tasks.product.product.configuration 0.0.1
                    To: org.eclipse.equinox.p2.iu; toolingwin32.win32.x86_64org.eclipse.equinox.simpleconfigurator [0.0.1,0.0.1]

我尝试过第谷版本

2.7.5
3.0.4
我尝试从我的产品文件中完全删除
org.eclipse.equinox.simpleconfigurator
我尝试完全删除我的 Maven .m2 存储库并从头开始

希望第谷构建我的简单应用程序时不会出现错误

我实际上遇到了上面的错误

java eclipse maven tycho
1个回答
0
投票

您可能在产品配置文件中缺少

<feature id="org.eclipse.e4.rcp"/>
,因为如果缺少该条目,我会得到与您相同的错误输出

© www.soinside.com 2019 - 2024. All rights reserved.