Frage

Ich bin neu in der Entwicklung von Zest und Eclipse e4.Mein Ziel im Moment ist es, eine einfache App zu erstellen und in einer ihrer Ansichten ein Diagramm mit Zest zu visualisieren.Also folge ich Das Tutorial und am Ende hatte ich eine einfach funktionierende App, die aus einem Hauptfenster bestand, das in drei Teile geteilt war.

Jetzt möchte ich in einem der Teile ein Diagramm anzeigen.Dazu habe ich das gesamte GEF-Framework in mein Eclipse heruntergeladen Hier Verwenden der Funktion „Neue Software installieren“ von Eclipse.So weit, ist es gut.

Als nächstes versuche ich, die folgenden Abhängigkeiten zum Abschnitt „Required-plugins“ der Manifestdatei hinzuzufügen: org.eclipse.zest.core Und org.eclipse.zest.layouts

Nachdem ich das Projekt ausgeführt habe, landete ich bei

Keine Anwendungs-ID gefunden

Wenn ich sie entferne, funktioniert alles wie gewohnt.Habt ihr eine Idee, wie ich das beheben kann?

Dies ist die Fehlermeldung:

!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)
War es hilfreich?

Lösung

Als Erstes würde ich versuchen, auf die Schaltfläche „Erforderliche Plug-ins hinzufügen“ auf der Registerkarte „Plug-ins“ Ihrer Laufkonfiguration zu klicken.Sie können auch versuchen, ein anderes Produkt auf der Registerkarte „Haupt“ der Ausführungskonfiguration auszuführen.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top