【问题标题】:Where can I find org.eclipse.jface.nl_de?我在哪里可以找到 org.eclipse.jface.nl_de?
【发布时间】:2016-01-21 08:41:05
【问题描述】:

我很难获得一个使用 tycho 使用 maven 编译的 RCP 应用程序。

我的feature.xml 文件包含此依赖项:

<plugin
     id="org.eclipse.jface.nl_de"
     download-size="0"
     install-size="0"
     version="0.0.0"
     fragment="true"
     unpack="false"/>

当我执行mvn clean install 时,我不断收到下面列出的错误消息。似乎 maven 不知道从哪里获得 org.eclipse.jface.nl_de。

有什么办法解决这个问题吗?

我在 win7 机器上使用 Eclipse Kepler (4.3.2) 和 JDK 1.7。

[INFO] Cannot complete the request.  Generating details.
[INFO] Cannot complete the request.  Generating details.
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: com.company.mct.pw.client.feature.feature.group 8.0.0
[ERROR]   Missing requirement: com.company.mct.pw.client.feature.feature.group 8.0.0 requires 'org.eclipse.jface.nl_de 0.0.0' but it could not be found
[ERROR]
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.swt.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.workbench.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.help.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.databinding.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.browser.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.views.nl_de 0.0.0.", "No solution found because the problem is unsatisfiable."] -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.swt.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.workbench.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.help.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.databinding.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.browser.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.views.nl_de 0.0.0.", "No solution found because the problem is unsatisfiable."]
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:619)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.swt.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.workbench.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.help.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.jface.databinding.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.browser.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.nl_de 0.0.0.", "Unable to satisfy dependency from com.company.mct.pw.client.feature.feature.group 8.0.0 to org.eclipse.ui.views.nl_de 0.0.0.", "No solution found because the problem is unsatisfiable."]
        at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.newResolutionException(AbstractResolutionStrategy.java:98)
        at org.eclipse.tycho.p2.resolver.ProjectorResolutionStrategy.resolve(ProjectorResolutionStrategy.java:88)
        at org.eclipse.tycho.p2.resolver.AbstractResolutionStrategy.resolve(AbstractResolutionStrategy.java:63)
        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:126)
        at org.eclipse.tycho.p2.impl.resolver.P2ResolverImpl.resolveDependencies(P2ResolverImpl.java:81)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.doResolvePlatform(P2TargetPlatformResolver.java:374)
        at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.resolveDependencies(P2TargetPlatformResolver.java:350)
        at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.resolveProject(DefaultTychoDependencyResolver.java:109)
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:82)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:274)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        ... 11 more
[ERROR]

【问题讨论】:

标签: java maven rcp tycho


【解决方案1】:

我不知道你是否还需要它,但你可以从 BABEL Eclipse 项目中获取文件(以及几乎任何语言包插件片段):http://www.eclipse.org/downloads/download.php?file=/technology/babel/update-site/R0.13.1/babel-R0.13.1-kepler.zip&mirror_id=491 只需下载 ZIP 并从插件目录中获取插件。

【讨论】:

    猜你喜欢
    • 2014-07-16
    • 2012-05-30
    • 2013-07-13
    • 2012-06-05
    • 2011-04-24
    • 2021-02-02
    • 2016-07-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多