我是全新的Zest和Eclipse E4开发。我的目的是建立一个简单的应用程序,并在其中一个视图中使用zest来可视化图形。所以我追随这个教程,我最终用了一个由一个简单的工作应用程序组成一个主窗口分为3个部分。

现在我想在其中一个零件中显示图形。为了做到这一点,我从这里将整个全球环境基金框架下载到我的Eclipse中。使用Eclipse的“安装新软件”功能。到目前为止这么好。

下一个我尝试将以下依赖关系添加到清单文件的所需插件部分:org.eclipse.zest.coreorg.eclipse.zest.layouts

在运行项目时,我最终得到

没有找到应用程序ID

当我删除它们时,一切都像往常一样工作。你们有什么想法我如何解决这个问题吗?

这是错误消息:

!SESSION 2013-11-18 18:38:56.285 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_21
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -product com.andrey.e4.rcp.todo.product -clearPersistedState
Command-line arguments:  -product com.andrey.e4.rcp.todo.product -data     C:\Users\Andrez\Desktop\projects/../runtime-com.andrey.e4.rcp.todo.product -dev file:C:/Users/Andrez/Desktop/projects/.metadata/.plugins/org.eclipse.pde.core/com.andrey.e4.rcp.todo.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -clearPersistedState

!ENTRY org.eclipse.equinox.app 0 0 2013-11-18 18:38:57.835
!MESSAGE Product com.andrey.e4.rcp.todo.product could not be found.

!ENTRY org.eclipse.osgi 2 0 2013-11-18 18:38:57.890
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-11-18 18:38:57.891
!MESSAGE Bundle initial@reference:file:../../projects/com.andrey.e4.rcp.todo/ was not resolved.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.891
!MESSAGE Missing required bundle org.eclipse.zest.layouts_1.1.0.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.891
!MESSAGE Missing required bundle org.eclipse.zest.core_1.5.0.

!ENTRY org.eclipse.osgi 2 0 2013-11-18 18:38:57.900
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-11-18 18:38:57.901
!MESSAGE Bundle com.andrey.e4.rcp.todo_1.0.0.qualifier [70] was not resolved.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.901
!MESSAGE Missing required bundle org.eclipse.zest.core_1.5.0.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.901
!MESSAGE Missing required bundle org.eclipse.zest.layouts_1.1.0.

!ENTRY org.eclipse.osgi 2 0 2013-11-18 18:38:57.932
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-11-18 18:38:57.932
!MESSAGE Bundle initial@reference:file:../../projects/com.andrey.e4.rcp.todo/ was not resolved.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.933
!MESSAGE Missing required bundle org.eclipse.zest.layouts_1.1.0.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.933
!MESSAGE Missing required bundle org.eclipse.zest.core_1.5.0.

!ENTRY org.eclipse.osgi 2 0 2013-11-18 18:38:57.939
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-11-18 18:38:57.939
!MESSAGE Bundle com.andrey.e4.rcp.todo_1.0.0.qualifier [70] was not resolved.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.939
!MESSAGE Missing required bundle org.eclipse.zest.core_1.5.0.
!SUBENTRY 2 com.andrey.e4.rcp.todo 2 0 2013-11-18 18:38:57.940
!MESSAGE Missing required bundle org.eclipse.zest.layouts_1.1.0.

!ENTRY org.eclipse.osgi 4 0 2013-11-18 18:38:57.946
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:242)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
.

有帮助吗?

解决方案

第一件事我尝试单击运行配置的“插件”选项卡中的“添加所需的插件”按钮。您也可以尝试在运行配置的“Main”选项卡中运行不同的产品。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top