Schritt 1: Im Menü File->New->Other... auswählen. Anschließend wie im Bild zu sehen Eclipse 4 Application Project auswählen. und Anschließend mit Next bestätigen
![]() |
Abbildung 1 |
Schritt 2: Projektnamen unter ID eingeben und mit Next bestätigen.
![]() |
Abbildung 2 |
Schritt 3: Mit Finish Projekt erzeugen
![]() |
Abbildung 3 |
Schritt 4: Das Projekt wird gestartet durch einen Klick auf Launch an Eclipse application (Abblidung 5) in der Product Overview (Abbildung 4)
![]() |
Abbildung 4 |
![]() |
Abbildung 5 |
Fehlerbehebung: Sollten beim Ausführen Fehler auftreten (wie in Abbildung 6 und Listing 1 gezeigt), könnte der unten beschriebene Schritt helfen diese zu beheben.
![]() |
Abbildung 6 |
Listing 1
!SESSION 2013-03-20 22:18:54.415 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_13
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product com.blogspot.javadingsda.firste4.product
Command-line arguments: -product com.blogspot.javadingsda.firste4.product -data C:\Users\Steffi\workspace/../runtime-com.blogspot.javadingsda.firste4.product -dev file:C:/Users/Steffi/workspace/.metadata/.plugins/org.eclipse.pde.core/com.blogspot.javadingsda.firste4.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
!ENTRY org.eclipse.equinox.app 0 0 2013-03-20 22:18:56.599
!MESSAGE Product com.blogspot.javadingsda.firste4.product could not be found.
!ENTRY org.eclipse.osgi 2 0 2013-03-20 22:18:56.663
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-03-20 22:18:56.663
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.e4.ui.services_0.10.3.v20130123-162658.jar was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.services 2 0 2013-03-20 22:18:56.663
!MESSAGE Missing imported package org.w3c.dom.css_2.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-03-20 22:18:56.663
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.e4.ui.css.swt.theme_0.9.4.v20130123-162658.jar was not resolved.
!SUBENTRY 2 org.eclipse.e4.ui.css.swt.theme 2 0 2013-03-20 22:18:56.663
!MESSAGE Missing imported package org.w3c.dom.css_2.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-03-20 22:18:56.663
...
!SUBENTRY 2 com.blogspot.javadingsda.firste4 2 0 2013-03-20 22:18:56.756
!MESSAGE Missing required bundle org.eclipse.e4.ui.css.core_0.10.2.
!ENTRY org.eclipse.osgi 4 0 2013-03-20 22:18:56.756
!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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
An error has occurred. See the log file
Fehlerursache 1: Unter Product Dependencies fehlen Plugins, die über den Button Add Required Plug-ins hinzugefügt werden können.
Das Plugin selbst (im Beispiel ist es com.blogspot.javadingsda.firste4) muss ebenfalls vorhanden sein.