Donnerstag, 1. März 2012

Eclipse RCP - Plug-in Problem

Problem:
Beim Ausführen eines Plugin Projekts erhält man die Fehlermeldung:

!SESSION 2012-03-01 16:09:21.828 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -application com.blogspot.javadingsda.databindingeasy.application
Command-line arguments:  -application com.blogspot.javadingsda.databindingeasy.application -data C:\dev\workspaces\databinding/../runtime-com.blogspot.javadingsda.databindingeasy.application -dev file:C:/dev/workspaces/databinding/.metadata/.plugins/org.eclipse.pde.core/com.blogspot.javadingsda.databindingeasy.application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.osgi 2 0 2012-03-01 16:09:23.296
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-03-01 16:09:23.296
!MESSAGE Bundle initial@reference:file:../../../workspaces/databinding/com.blogspot.javadingsda.databindingeasy/ was not resolved.
!SUBENTRY 2 com.blogspot.javadingsda.databindingeasy 2 0 2012-03-01 16:09:23.296
!MESSAGE Missing required bundle org.eclipse.core.databinding.beans_1.2.100.

!ENTRY org.eclipse.osgi 2 0 2012-03-01 16:09:23.312
!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 2012-03-01 16:09:23.312
!MESSAGE Bundle com.blogspot.javadingsda.databindingeasy_1.0.0.qualifier [32] was not resolved.
!SUBENTRY 2 com.blogspot.javadingsda.databindingeasy 2 0 2012-03-01 16:09:23.312
!MESSAGE Missing required bundle org.eclipse.core.databinding.beans_1.2.100.

!ENTRY org.eclipse.osgi 4 0 2012-03-01 16:09:23.312
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "com.blogspot.javadingsda.databindingeasy.application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)


so oder ähnlich .
In der plugin.xml wurden die benötigten Plugins aber hinzugefügt.





Mögliche Lösung:

Rechter Mausklick auf das Projekt. Im Kontext Menü 'Properties' auswählen. Dann 'Run/Debug Settings'. Das zum Projekt passende Produkt auswählen und mit dem Edit Button bearbeiten. Reiter Plug-ins auswählen und nachsehen ob beim bemängelten Bundle ein Häckchen steht. In diesem Beispiel ist es 'org.eclipse.core.databinding.beans_1.2.100'. Falls dies nicht der Fall ist, Häckchen setzen.

Keine Kommentare:

Kommentar veröffentlichen