I am upgrading Eclipse platform for RCP product from 4.6.3 to 4.15. I am using Eclipse-SDK-4.15 for development and eclipse 4.15 based target platform and Java 8. I have resolved all the compilation errors in workspace. I am using existing launch configuration where "Execution Environment" is set as "JavaSE-1.8" and in Plug-ins tab "all workspace and enabled target plug-ins" is selected. On running the configuration I get below error:
!SESSION 2022-03-01 05:42:37.611 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=8.0.6.15 - pwa6480sr6fp15-20200724_01(SR6 FP15)
JRE 1.8.0 Windows Server 2016 amd64-64-Bit Compressed References 20200724_452227 (JIT enabled, AOT enabled)
OpenJ9 - 4ce4b9d
OMR - 08b0594
IBM - 70917a2
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product com.ibm.rmc.rcp.ui.75.composer
Command-line arguments: -product com.ibm.rmc.rcp.ui.75.composer -data E:\Test\workspace/../runtime-rmc.product -dev file:E:/Test/workspace/.metadata/.plugins/org.eclipse.pde.core/rmc.product/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog -os win32 -ws win32 -arch x86_64 -clean
!ENTRY org.eclipse.update.configurator 4 0 2022-03-01 05:42:38.508
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.update.configurator_3.4.500.v20200225-0827 [2]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.8
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
!ENTRY org.eclipse.core.runtime 4 0 2022-03-01 05:42:38.508
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.core.runtime_3.17.100.v20200203-0917 [3]" could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.8
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
!ENTRY org.eclipse.equinox.ds 4 0 2022-03-01 05:42:38.508
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.ds_1.6.100.v20191001-1333 [4]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.apache.felix.scr; bundle-version="[2.1.0,3.0.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
!ENTRY org.eclipse.osgi 4 0 2022-03-01 05:42:38.524
!MESSAGE Bundle initial#reference:file:../../../WTP/constellation.ratl.swg.usma.ibm.com/iesp2/ies-repositories/4.15/eclipse/plugins/org.eclipse.update.configurator_3.4.500.v20200225-0827.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2022-03-01 05:42:38.524
!MESSAGE Bundle initial#reference:file:../../../WTP/constellation.ratl.swg.usma.ibm.com/iesp2/ies-repositories/4.15/equinox/plugins/org.eclipse.core.runtime_3.17.100.v20200203-0917.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2022-03-01 05:42:38.524
!MESSAGE Bundle initial#reference:file:../../../WTP/constellation.ratl.swg.usma.ibm.com/iesp2/ies-repositories/4.15/equinox/plugins/org.eclipse.equinox.ds_1.6.100.v20191001-1333.jar/ was not resolved.
!ENTRY org.eclipse.osgi 2 0 2022-03-01 05:42:38.540
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-03-01 05:42:38.540
!MESSAGE Bundle initial#reference:file:../../../WTP/constellation.ratl.swg.usma.ibm.com/iesp2/ies-repositories/4.15/equinox/plugins/org.eclipse.core.runtime_3.17.100.v20200203-0917.jar/ was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing required bundle org.eclipse.equinox.app_1.3.0.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing required bundle org.eclipse.osgi_[3.13.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing required bundle org.eclipse.equinox.common_[3.10.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing required bundle org.eclipse.core.contenttype_[3.7.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.10.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing required bundle org.eclipse.equinox.registry_[3.8.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_[3.7.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-03-01 05:42:38.540
!MESSAGE Bundle initial#reference:file:../../../WTP/constellation.ratl.swg.usma.ibm.com/iesp2/ies-repositories/4.15/equinox/plugins/org.eclipse.equinox.ds_1.6.100.v20191001-1333.jar/ was not resolved.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.framework.startlevel_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.util.tracker_1.5.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing required bundle org.apache.felix.scr_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.service.component.runtime_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.util.promise_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.framework.namespace_1.1.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.service.component_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.framework_1.8.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.framework.wiring_1.2.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.service.component.runtime.dto_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.540
!MESSAGE Missing imported package org.osgi.framework.dto_1.8.0.
!ENTRY org.eclipse.osgi 2 0 2022-03-01 05:42:38.555
!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 2022-03-01 05:42:38.555
!MESSAGE Bundle org.eclipse.update.configurator_3.4.500.v20200225-0827 [2] was not resolved.
!SUBENTRY 2 org.eclipse.update.configurator 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.8
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-03-01 05:42:38.555
!MESSAGE Bundle org.eclipse.core.runtime_3.17.100.v20200203-0917 [3] was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing required bundle org.eclipse.osgi_[3.13.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing required bundle org.eclipse.equinox.common_[3.10.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.10.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing required bundle org.eclipse.equinox.registry_[3.8.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_[3.7.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing required bundle org.eclipse.core.contenttype_[3.7.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing required bundle org.eclipse.equinox.app_1.3.0.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing dynamically imported package org.eclipse.core.internal.runtime.auth_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-03-01 05:42:38.555
!MESSAGE Bundle org.eclipse.equinox.ds_1.6.100.v20191001-1333 [4] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing required bundle org.apache.felix.scr_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.framework_1.8.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.framework.dto_1.8.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.framework.namespace_1.1.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.framework.startlevel_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.framework.wiring_1.2.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.service.component_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.service.component.runtime_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.service.component.runtime.dto_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.util.promise_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.555
!MESSAGE Missing imported package org.osgi.util.tracker_1.5.0.
!ENTRY org.eclipse.osgi 2 0 2022-03-01 05:42:38.571
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-03-01 05:42:38.571
!MESSAGE Bundle initial#reference:file:../../../WTP/constellation.ratl.swg.usma.ibm.com/iesp2/ies-repositories/4.15/equinox/plugins/org.eclipse.core.runtime_3.17.100.v20200203-0917.jar/ was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.equinox.app_1.3.0.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.osgi_[3.13.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.equinox.common_[3.10.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.core.contenttype_[3.7.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.10.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.equinox.registry_[3.8.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_[3.7.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-03-01 05:42:38.571
!MESSAGE Bundle initial#reference:file:../../../WTP/constellation.ratl.swg.usma.ibm.com/iesp2/ies-repositories/4.15/equinox/plugins/org.eclipse.equinox.ds_1.6.100.v20191001-1333.jar/ was not resolved.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.framework.startlevel_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.util.tracker_1.5.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.apache.felix.scr_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.service.component.runtime_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.util.promise_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.framework.namespace_1.1.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.service.component_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.framework_1.8.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.framework.wiring_1.2.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.service.component.runtime.dto_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing imported package org.osgi.framework.dto_1.8.0.
!ENTRY org.eclipse.osgi 2 0 2022-03-01 05:42:38.571
!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 2022-03-01 05:42:38.571
!MESSAGE Bundle org.eclipse.update.configurator_3.4.500.v20200225-0827 [2] was not resolved.
!SUBENTRY 2 org.eclipse.update.configurator 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.8
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-03-01 05:42:38.571
!MESSAGE Bundle org.eclipse.core.runtime_3.17.100.v20200203-0917 [3] was not resolved.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.osgi_[3.13.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.equinox.common_[3.10.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.core.jobs_[3.10.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.571
!MESSAGE Missing required bundle org.eclipse.equinox.registry_[3.8.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing required bundle org.eclipse.equinox.preferences_[3.7.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing required bundle org.eclipse.core.contenttype_[3.7.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing required bundle org.eclipse.equinox.app_1.3.0.
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing dynamically imported package org.eclipse.core.internal.runtime.auth_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2022-03-01 05:42:38.587
!MESSAGE Bundle org.eclipse.equinox.ds_1.6.100.v20191001-1333 [4] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing required bundle org.apache.felix.scr_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.framework_1.8.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.framework.dto_1.8.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.framework.namespace_1.1.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.framework.startlevel_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.framework.wiring_1.2.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.service.component_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.service.component.runtime_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.service.component.runtime.dto_1.4.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.util.promise_1.0.0.
!SUBENTRY 2 org.eclipse.equinox.ds 2 0 2022-03-01 05:42:38.587
!MESSAGE Missing imported package org.osgi.util.tracker_1.5.0.
!ENTRY org.eclipse.osgi 4 0 2022-03-01 05:42:38.587
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
An error has occurred. See the log file
E:\Test\workspace\.metadata\.plugins\org.eclipse.pde.core\rmc.product\1646142158140.log.
I have searched for similar error but found answers saying the eclipse used is very old which don't support java version. However in my case I verified that Eclipse 4.15 supports Java 8.
I also tried running RCP product file using "Launch an Eclipse Application" option but it too resulted in same error.
I was trying many things like changing features/Plug-ins in "Content", Start Levels in "Configuration" etc. but nothing did work. Any help on this would be much appreciated. Thanks!
Related
I work on an Eclipse 4 RCP project with one plugin bundle and a bundle fragment for unit tests. The target platform is defined with an Eclipse target definition (.target file). Maven with Tycho is used to build the project outside of Eclipse (manifest-first with the .target file defining the target platform).
Now I want to include Mockito in the target platform for mocking. Eclipse Orbit provides an org.mockito (1.9.5) bundle. It depends among other things on org.hamcrest (which can also be found on the Orbit p2 site) so I added it to the target definition as well. When I set Eclipse's target platform from the target file the following shows up in the Target Platform State view:
Even though both org.hamcrest.library and org.hamcrest.core are present (both bundles export the org.hamcrest 1.3.0 package) the org.mockito bundle claims to miss the org.hamcrest package.
Nevertheless I added the org.mockito and org.hamcrest.library to the test plugin fragment's dependencies in the MANIFEST.MF.
Require-Bundle: org.junit;bundle-version="4.11.0",
org.hamcrest.library;bundle-version="1.3.0",
org.mockito;bundle-version="1.9.5"
The fragment seems to compile but the tests cannot be run. The tycho-surefire-plugin reports:
An error has occurred. See the log file [...]\target\work\configuration\1405514016520.log.
The log file reads:
!SESSION 2014-07-16 14:33:34.053 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties F:\Users\Jakob\Documents\Bachelorprojekt\Code\myplugin.tests\target\surefire.properties
Command-line arguments: -data F:\Users\Jakob\Documents\Bachelorprojekt\Code\myplugin.tests\target\work\data -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties F:\Users\Jakob\Documents\Bachelorprojekt\Code\myplugin.tests\target\surefire.properties
!ENTRY org.eclipse.osgi 2 0 2014-07-16 14:33:40.508
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.508
!MESSAGE Bundle initial#reference:file:../../../../../../.m2/repository/p2/osgi/bundle/org.eclipse.swt.gtk.linux.x86_64/3.102.1.v20130827-2048/org.eclipse.swt.gtk.linux.x86_64-3.102.1.v20130827-2048.jar was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86_64 2 0 2014-07-16 14:33:40.508
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.508
!MESSAGE Bundle initial#reference:file:../../../../../../.m2/repository/p2/osgi/bundle/org.eclipse.swt.cocoa.macosx.x86_64/3.102.1.v20130827-2048/org.eclipse.swt.cocoa.macosx.x86_64-3.102.1.v20130827-2048.jar was not resolved.
!SUBENTRY 2 org.eclipse.swt.cocoa.macosx.x86_64 2 0 2014-07-16 14:33:40.508
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.508
!MESSAGE Bundle initial#reference:file:../../../../../../.m2/repository/p2/osgi/bundle/org.mockito/1.9.5.v201311280930/org.mockito-1.9.5.v201311280930.jar was not resolved.
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.509
!MESSAGE Missing imported package org.hamcrest_[1.0.0,2.0.0).
!ENTRY org.eclipse.osgi 2 0 2014-07-16 14:33:40.547
!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 2014-07-16 14:33:40.547
!MESSAGE Bundle myplugin.tests_0.0.1.qualifier [2] was not resolved.
!SUBENTRY 2 myplugin.tests 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing required bundle org.mockito_1.9.5.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.547
!MESSAGE Bundle org.mockito_1.9.5.v201311280930 [5] was not resolved.
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing optionally imported package COM.jrockit.reflect_0.0.0.
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing optionally imported package jrockit.vm_0.0.0.
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing imported package org.hamcrest_[1.0.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing imported package org.mockito_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing imported package org.mockito.configuration_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing imported package org.mockito.exceptions_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing imported package org.mockito.exceptions.base_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing imported package org.mockito.exceptions.misusing_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing imported package org.mockito.exceptions.stacktrace_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.547
!MESSAGE Missing imported package org.mockito.exceptions.verification_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.exceptions.verification.junit_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.invocation_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.listeners_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.mock_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.plugins_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.runners_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.stubbing_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.stubbing.answers_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing imported package org.mockito.verification_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing optionally imported package sun.reflect_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.548
!MESSAGE Bundle org.eclipse.swt.gtk.linux.x86_64_3.102.1.v20130827-2048 [147] was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86_64 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.548
!MESSAGE Bundle org.eclipse.swt.cocoa.macosx.x86_64_3.102.1.v20130827-2048 [148] was not resolved.
!SUBENTRY 2 org.eclipse.swt.cocoa.macosx.x86_64 2 0 2014-07-16 14:33:40.548
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!ENTRY org.eclipse.osgi 2 0 2014-07-16 14:33:40.804
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.804
!MESSAGE Bundle initial#reference:file:../../../../../../.m2/repository/p2/osgi/bundle/org.eclipse.swt.gtk.linux.x86_64/3.102.1.v20130827-2048/org.eclipse.swt.gtk.linux.x86_64-3.102.1.v20130827-2048.jar was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86_64 2 0 2014-07-16 14:33:40.804
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.804
!MESSAGE Bundle initial#reference:file:../../../../../../.m2/repository/p2/osgi/bundle/org.eclipse.swt.cocoa.macosx.x86_64/3.102.1.v20130827-2048/org.eclipse.swt.cocoa.macosx.x86_64-3.102.1.v20130827-2048.jar was not resolved.
!SUBENTRY 2 org.eclipse.swt.cocoa.macosx.x86_64 2 0 2014-07-16 14:33:40.804
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.804
!MESSAGE Bundle initial#reference:file:../../../../../../.m2/repository/p2/osgi/bundle/org.mockito/1.9.5.v201311280930/org.mockito-1.9.5.v201311280930.jar was not resolved.
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.804
!MESSAGE Missing imported package org.hamcrest_[1.0.0,2.0.0).
!ENTRY org.eclipse.osgi 2 0 2014-07-16 14:33:40.833
!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 2014-07-16 14:33:40.833
!MESSAGE Bundle myplugin.tests_0.0.1.qualifier [2] was not resolved.
!SUBENTRY 2 myplugin.tests 2 0 2014-07-16 14:33:40.833
!MESSAGE Missing required bundle org.mockito_1.9.5.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.833
!MESSAGE Bundle org.mockito_1.9.5.v201311280930 [5] was not resolved.
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.833
!MESSAGE Missing optionally imported package COM.jrockit.reflect_0.0.0.
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.833
!MESSAGE Missing optionally imported package jrockit.vm_0.0.0.
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.833
!MESSAGE Missing imported package org.hamcrest_[1.0.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.configuration_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.exceptions_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.exceptions.base_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.exceptions.misusing_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.exceptions.stacktrace_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.exceptions.verification_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.exceptions.verification.junit_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.invocation_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.834
!MESSAGE Missing imported package org.mockito.listeners_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing imported package org.mockito.mock_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing imported package org.mockito.plugins_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing imported package org.mockito.runners_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing imported package org.mockito.stubbing_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing imported package org.mockito.stubbing.answers_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing imported package org.mockito.verification_[1.9.0,2.0.0).
!SUBENTRY 2 org.mockito 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing optionally imported package sun.reflect_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.835
!MESSAGE Bundle org.eclipse.swt.gtk.linux.x86_64_3.102.1.v20130827-2048 [147] was not resolved.
!SUBENTRY 2 org.eclipse.swt.gtk.linux.x86_64 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!SUBENTRY 1 org.eclipse.osgi 2 0 2014-07-16 14:33:40.835
!MESSAGE Bundle org.eclipse.swt.cocoa.macosx.x86_64_3.102.1.v20130827-2048 [148] was not resolved.
!SUBENTRY 2 org.eclipse.swt.cocoa.macosx.x86_64 2 0 2014-07-16 14:33:40.835
!MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))".
!ENTRY org.eclipse.osgi 4 0 2014-07-16 14:33:40.857
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Bundle myplugin.tests is not found
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.getBundleClassLoader(OsgiSurefireBooter.java:149)
at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:67)
at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.run(HeadlessTestApplication.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
Launching the plugin test from Eclipse PDE yields effectively the same mockito-related errors (the SWT-related ones are missing but instead there are other bundle resolution errors since I do not usually run these tests from Eclipse and did not eliminate some conflicting bundles from the launch configuration).
What are probable causes for the missing imported-package error even though the package is definitely exported by another required bundle from the target platform and how can I fix this setup?
I was recently having the same problem, in both Tycho build and starting a runtime Eclipse from PDE:
!ENTRY org.mockito 4 0 2018-03-14 11:53:00.671
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.mockito [6]
Unresolved requirement: Import-Package: COM.jrockit.reflect; resolution:="optional"
Unresolved requirement: Import-Package: jrockit.vm; resolution:="optional"
Unresolved requirement: Import-Package: org.apache.tools.ant; resolution:="optional"
Unresolved requirement: Import-Package: org.apache.tools.ant.types; resolution:="optional"
Unresolved requirement: Import-Package: org.hamcrest; version="[1.0.0,2.0.0)"
I was able to solve this in both cases without needing a re-packaged Mockito.
In PDE by adding the org.hamcrest explicity to the target platform instead of just org.hamcrest.core:
corresponding .target code:
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.hamcrest" version="1.1.0.v20090501071000"/>
<unit id="org.mockito" version="1.9.5.v201605172210"/>
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20180206163158/repository/"/>
</location>
And in Tycho by doing the equivalent:
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<dependency-resolution>
<extraRequirements>
<!-- Workaround for an issue with mockito depending on hamcrest -->
<requirement>
<type>eclipse-plugin</type>
<id>org.hamcrest</id>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
</configuration>
</plugin>
The root cause of your problem is that org.hamcrest is a split package. There is obviously a bug in tycho or in eclipse, that prevents that from working. See the followings for details:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=334540
https://bugs.eclipse.org/bugs/show_bug.cgi?id=403196
Please give a try to my re-packaged version of Hamcrest and Mockito (Powermock-OSGI). In my version the Mockito manifest specifies, that only the "core" part of the org.hamcrest package is needed by Mockito:
Orbit version:
Import-Package: COM.jrockit.reflect;resolution:=optional,jrockit.vm;re
solution:=optional,junit.framework;resolution:=optional,org.apache.to
ols.ant;resolution:=optional,org.apache.tools.ant.types;resolution:=o
ptional,org.hamcrest;version="[1.0,2.0)"
My version:
Import-Package: org.hamcrest;core=split,junit.framework,org.junit,org.ju
nit.internal.runners,org.junit.runner,org.junit.runner.manipulation,org
.junit.runner.notification,org.junit.runners,org.junit.runners.model,or
g.objenesis;version="[2.1,3)"
The update site can be found at http://powermock-osgi.googlecode.com/svn/updateSite/1.5.4.1/
Project home: https://code.google.com/p/powermock-osgi/
Before taking my update site, you might need to delete Eclipse and Tycho bundle pools as written at Powermock-OSGI site:
First Time Usage
Tycho and Eclipse PDE caches the bundles based on symbolic name and
version. So if the user already had a 4.11 version of Junit anytime in
the past, our hacked powermock version will not be taken.
So before first usage inside Eclipse the user has to delete the
.metadata.plugins\org.eclipse.pde.core.bundle_pool and
.metadata.plugins\org.eclipse.pde.core.external_libraries in ALL
workspaces of the specific Eclipse installation (bundles are looked up
cross workspace way). BE SURE, that when you run the unit tests in
eclipse the plugins tab in the launch config REALLY contains the
JUnit, Mockito and Hamcrest plugins of the Powermock feature, and not
some other version. Before first usage with Tycho delete the .meta
.cache and p2 folders from the maven local repository
Please send me a feedback if it works.
I had the same problem that Tycho could not resolve Hamcrest correctly. In my project I used my build my own target platform (just a few plugins from Luna SDK). For unit tests I took the JUnit bundle from the SDK. When I added the Mockito library I faced the same problem described above. At first I also experimented with repackaging the Mockito bundle with concrete versions. But I couldn't fix it. Then I found your question and Gábor's answer, which finally solved my problem!
At first I followed the instruction and added the update site and chose the needed feature (Powermock with Mockito and JUnit). Then I ran into unresolved dependency with Objenisis bundle. I don't know if this is my specific problem because I made my own target platform with a few bundles or that Objenisis is just missing in the feature?!
So I copied the needed bundles (incl. Objenisis) from the powermock-osgi update site to my own target platform and now it works as expected!
I also had that problem and couldn't figure out a way by using the orbit R20200224183213 bundles.
Finally I just downloaded mockito-all, placed it into the libs folder and added it to my test plug-in's runtime classpath (MANIFEST.MF -> Bundle-ClassPath).
I hope they will fix it in the next orbit versions so that I can use the orbit bundles again.
After updating eclipse it doesnt start anymore, i get a window saying
An error has occured
with an reference to a log file (see below)
Any way to get this resolved?
---- Log File -----
!SESSION 2013-01-16 23:31:46.709 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.6.0_37
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -keyring /Users/dorjeduck/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/dorjeduck/.eclipse_keyring -showlocation
!ENTRY org.eclipse.osgi 2 0 2013-01-16 23:31:48.877
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.877
!MESSAGE Bundle reference:file:plugins/org.eclipse.ui.ide_3.8.1.v20120828-165804.jar was not resolved.
!SUBENTRY 2 org.eclipse.ui.ide 2 0 2013-01-16 23:31:48.877
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.877
!MESSAGE Bundle reference:file:plugins/org.eclipse.ui.console_3.5.100.v20120521-2012.jar was not resolved.
!SUBENTRY 2 org.eclipse.ui.console 2 0 2013-01-16 23:31:48.877
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.878
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.junit_3.7.100.v20120523-1543.jar was not resolved.
!SUBENTRY 2 org.eclipse.jdt.junit 2 0 2013-01-16 23:31:48.878
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.878
!MESSAGE Bundle reference:file:plugins/org.eclipse.pde.api.tools.ui_1.0.400.v20120523-2012.jar was not resolved.
!SUBENTRY 2 org.eclipse.pde.api.tools.ui 2 0 2013-01-16 23:31:48.878
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.4.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.878
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.ui_3.8.1.v20120814-144251.jar was not resolved.
!SUBENTRY 2 org.eclipse.jdt.ui 2 0 2013-01-16 23:31:48.878
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.8.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.878
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.debug.ui_3.6.100.v20120530-1425.jar was not resolved.
!SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2013-01-16 23:31:48.878
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.878
!MESSAGE Bundle reference:file:plugins/org.eclipse.wst.common.ui_1.1.500.v200911190730.jar was not resolved.
!SUBENTRY 2 org.eclipse.wst.common.ui 2 0 2013-01-16 23:31:48.878
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.4.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.878
!MESSAGE Bundle reference:file:plugins/org.eclipse.cdt.ui_5.4.0.201206111645.jar was not resolved.
!SUBENTRY 2 org.eclipse.cdt.ui 2 0 2013-01-16 23:31:48.878
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.4.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.878
!MESSAGE Bundle reference:file:plugins/com.android.ide.eclipse.adt_20.0.3.v201208082019-427395.jar was not resolved.
!SUBENTRY 2 com.android.ide.eclipse.adt 2 0 2013-01-16 23:31:48.878
!MESSAGE Missing required bundle org.eclipse.jface.text_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-01-16 23:31:48.878
!MESSAGE Bundle reference:file:plugins/org.eclipse.pde.ds.ui_1.0.200.v20120530-1435.jar was not resolved.
!SUBENTRY 2 org.eclipse.pde.ds.ui 2 0 2013-01-16 23:31:48.878
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.3.0,4.0.0).
It seems that you are using MAC. I would suggest you to reinstall the Eclipse for MAC from the following eclipse for osx (only if you can afford to do it obviously). From the logs the issue seems to be related to missing plugins. The update may have deleted the older plugin?? Try installing the plugins that eclipse is complaining about like Jface etc manually and putting them under eclipse/plugin folder, and see if that brings down the error logs. Otherwise, the only option would be reinstalling. Eclipse sometimes gets really angry :)
A number of people have reported similar problems. There are several suggestions in that thread, but no definitive solutions. Only one of the suggestions worked for me - it's a way to revert eclipse to a previous state from the command line. It comes from this blog post.
In a terminal:
Go to the folder containing your eclipse install
ls -lt p2/org.eclipse.equinox.p2.engine/profileRegistry/<som_profile_name>.profile/
In my case <som_profile_name> was epp.package.java.profile, in Paul's blog SDKProfile.
You should see files like 1372434812558.profile.gz.
Choose a recent one with a date you feel sure is ok
Put together a command like:
eclipse -noSplash
-application org.eclipse.equinox.p2.director
-repository file:$(pwd)/p2/org.eclipse.equinox.p2.engine/profileRegistry/<som_profile_name>.profile
-profile <som_profile_name>
-revert 1372434812558
If that doesn't work, try adding -destination . (I did it successfully with -destination, but I think it should work without)
All of a sudden, Eclipse that used to work perfectly won't launch anymore. Here is the log:
!SESSION 2012-11-13 11:10:21.718 -----------------------------------------------
eclipse.buildId=M20060921-0945
java.version=1.7.0_09
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ko_KR
Framework arguments: -vm C:\j2sdk1.4.2_19\bin\javaw.exe
Command-line arguments: -os win32 -ws win32 -arch x86 -vm C:\j2sdk1.4.2_19\bin\javaw.exe
!ENTRY org.eclipse.equinox.common 4 0 2012-11-13 11:10:23.281
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,J2SE-1.3
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:294)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1046)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
!ENTRY org.eclipse.update.configurator 4 0 2012-11-13 11:10:23.312
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.4,CDC-1.0/Foundation-1.0,J2SE-1.3
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:294)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1046)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
!ENTRY org.eclipse.core.runtime 4 0 2012-11-13 11:10:23.328
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,J2SE-1.3
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:294)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:329)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1046)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:573)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:495)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:275)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:455)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:189)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:291)
!ENTRY org.eclipse.osgi 4 0 2012-11-13 11:10:23.328
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.equinox.common_3.2.0.v20060603.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2012-11-13 11:10:23.328
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.update.configurator_3.2.2.R32x_v20070111.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2012-11-13 11:10:23.328
!MESSAGE Bundle initial#reference:file:plugins/org.eclipse.core.runtime_3.2.0.v20060603.jar/ was not resolved.
!ENTRY org.eclipse.osgi 4 0 2012-11-13 11:10:23.343
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:65)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
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.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.osgi 2 0 2012-11-13 11:10:23.625
!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-11-13 11:10:23.625
!MESSAGE Bundle update#plugins/com.ibm.etools.emf.event_3.0.0.v20060918_M.jar [4] was not resolved.
!SUBENTRY 2 com.ibm.etools.emf.event 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.emf.ecore_[2.2.0,3.0.0).
!SUBENTRY 2 com.ibm.etools.emf.event 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.core.runtime.compatibility_[3.1.0,4.0.0).
!SUBENTRY 2 com.ibm.etools.emf.event 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.core.runtime_[2.1.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.625
!MESSAGE Bundle update#plugins/com.jcraft.jsch_0.1.28.jar [7] was not resolved.
!SUBENTRY 2 com.jcraft.jsch 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.4
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.625
!MESSAGE Bundle update#plugins/org.apache.ant_1.6.5/ [8] was not resolved.
!SUBENTRY 2 org.apache.ant 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.2
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.625
!MESSAGE Bundle update#plugins/org.apache.axis_1.3.0.v200608161946/ [9] was not resolved.
!SUBENTRY 2 org.apache.axis 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.apache.ant_[1.6.5,1.7.0).
!SUBENTRY 2 org.apache.axis 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing optionally required bundle org.apache.commons.httpclient_[3.0.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.625
!MESSAGE Bundle update#plugins/org.apache.lucene_1.4.103.v20060601/ [13] was not resolved.
!SUBENTRY 2 org.apache.lucene 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: J2SE-1.3
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.625
!MESSAGE Bundle update#plugins/org.apache.wsil4j_1.0.0.v200608161946/ [14] was not resolved.
!SUBENTRY 2 org.apache.wsil4j 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.uddi4j_[2.0.4,2.1.0).
!SUBENTRY 2 org.apache.wsil4j 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.apache.axis_[1.3.0,1.4.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.625
!MESSAGE Bundle update#plugins/org.eclipse.ant.core_3.1.100.v20060531.jar [16] was not resolved.
!SUBENTRY 2 org.eclipse.ant.core 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.core.variables_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.core 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.core.runtime_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.625
!MESSAGE Bundle update#plugins/org.eclipse.ant.ui_3.2.1.r321_v20060828.jar [17] was not resolved.
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing optionally required bundle org.eclipse.ui.ide_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing optionally required bundle org.eclipse.ui.views_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing optionally required bundle org.eclipse.jface.text_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing optionally required bundle org.eclipse.ui.workbench.texteditor_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing optionally required bundle org.eclipse.ui.editors_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.apache.ant_1.6.5.
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.ant.core_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.core.filesystem_[1.0.0,2.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.core.resources_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.625
!MESSAGE Missing required bundle org.eclipse.core.filebuffers_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.core.variables_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.ui.externaltools_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.ui.console_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.debug.core_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.jdt.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.jdt.debug.ui_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.jdt.launching_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.core.runtime_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.team.core_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.ltk.core.refactoring_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.core.expressions_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.ant.ui 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing imported package com.ibm.icu.text_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.640
!MESSAGE Bundle update#plugins/org.eclipse.compare_3.2.1.M20060711.jar [18] was not resolved.
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.ui_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.core.resources_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.jface.text_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.ui.ide_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.ui.views_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.ui.workbench.texteditor_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.core.runtime_[3.1.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing imported package com.ibm.icu.util_0.0.0.
!SUBENTRY 2 org.eclipse.compare 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing imported package com.ibm.icu.text_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.640
!MESSAGE Bundle update#plugins/org.eclipse.core.boot_3.1.100.v20060603.jar [19] was not resolved.
!SUBENTRY 2 org.eclipse.core.boot 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,J2SE-1.3
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.640
!MESSAGE Bundle update#plugins/org.eclipse.core.commands_3.2.0.I20060605-1400.jar [20] was not resolved.
!SUBENTRY 2 org.eclipse.core.commands 2 0 2012-11-13 11:10:23.640
!MESSAGE Missing required bundle org.eclipse.equinox.common_[3.2.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-11-13 11:10:23.640
!MESSAGE Bundle update#plugins/org.eclipse.core.contenttype_3.2.0.v20060603.jar [21] was not resolved.
From the line Reason: Missing Constraint: Bundle-RequiredExecutionEnvironment: CDC-1.0/Foundation-1.0,J2SE-1.3, my understanding is that it has some sort of version conflict with J2SE, but the log correctly shows my current java version so I am not sure what the issue is at all.
Assistance would be appreciated.
That's an old version of Eclipse with a new JRE. I won't guess as to how/why c:\j2sdk1.4.2_19 contains a Java 7 JRE, but either update your Eclipse, or go back to using an actual 1.4 JRE.
I had a similar problem that was fixed by modifying PATH in a startAnOldEclipse.bat file so that the PATH pointed to a jre bin directory for a version of the jre required by that version of Eclipse. This PATH also contains just enough Windows stuff too e.g.,
set PATH=<tool suite stuff>;c:\j2sdk1.4.2_19\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
I'd guess that your eclipse stopped working because a new JRE was installed and the PATH was modified to point to the new JRE.
In my case, the 'tool suite stuff' was a gcc cross-compiler that was packaged with an old eclipse.
Another way to specify a specific JRE:
This says: "The most recommended way to specify a JVM for Eclipse to run in is to put startup configuration into the eclipse.ini"
I solved this problem by downloading the OLD version of the JDK 1.4, configuring the PATH of local variables, and adding the new path to C:\j2sdk1.4.2_19\bin. This works after relaunching eclipse.
I can't launch my rcp application in newly released juno, but it works well in indigo. I found there are lots of lucene bundles were not resolved. But they were added to required plugins in run configurations.
Dose anyone have any suggestions? Thanks!
!SESSION 2012-07-06 16:45:10.801 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=sv_SE
Framework arguments: -product Myproduct.product
Command-line arguments: -product Myproduct.product -data C:\Users\user\workspace/../runtime-Myproduct.product -dev file:C:/Users/user/workspace/.metadata/.plugins/org.eclipse.pde.core/Myproduct.product/dev.properties -os win32 -ws win32 -arch x86_64
!ENTRY org.eclipse.equinox.app 0 0 2012-07-06 16:45:11.986
!MESSAGE Product Myproduct.product could not be found.
!ENTRY org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE Bundle initial#reference:file:plugins/org.apache.lucene.queries_3.5.0.v20120319-2345.jar was not resolved.
!SUBENTRY 2 org.apache.lucene.queries 2 0 2012-07-06 16:45:12.106
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE Bundle initial#reference:file:plugins/org.apache.lucene.analysis_2.9.1.v201101211721.jar was not resolved.
!SUBENTRY 2 org.apache.lucene.analysis 2 0 2012-07-06 16:45:12.106
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE Bundle initial#reference:file:plugins/org.apache.lucene.misc_3.5.0.v20120319-2345.jar was not resolved.
!SUBENTRY 2 org.apache.lucene.misc 2 0 2012-07-06 16:45:12.106
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.106
!MESSAGE Bundle initial#reference:file:plugins/org.apache.lucene_3.5.0.v20120319-2345.jar was not resolved.
!SUBENTRY 2 org.apache.lucene 2 0 2012-07-06 16:45:12.106
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!ENTRY org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!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-07-06 16:45:12.119
!MESSAGE Bundle org.eclipse.help.base_3.6.100.v201206081400 [18] was not resolved.
!SUBENTRY 2 org.eclipse.help.base 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene_2.9.0.
!SUBENTRY 2 org.eclipse.help.base 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.analysis_2.9.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.eclipse.help.webapp_3.6.100.v20120521-2344 [21] was not resolved.
!SUBENTRY 2 org.eclipse.help.webapp 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.eclipse.help.base_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.apache.lucene.analysis_2.9.1.v201101211721 [25] was not resolved.
!SUBENTRY 2 org.apache.lucene.analysis 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.core_[2.9.1,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.eclipse.help.ui_3.5.200.v20120521-2344 [35] was not resolved.
!SUBENTRY 2 org.eclipse.help.ui 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.eclipse.help.base_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.apache.lucene.queries_3.5.0.v20120319-2345 [39] was not resolved.
!SUBENTRY 2 org.apache.lucene.queries 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.apache.lucene.queries 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing optionally imported package org.apache.regexp_1.4.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.apache.lucene_3.5.0.v20120319-2345 [52] was not resolved.
!SUBENTRY 2 org.apache.lucene 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.misc_[3.5.0,4.0.0).
!SUBENTRY 2 org.apache.lucene 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.queries_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle org.apache.lucene.misc_3.5.0.v20120319-2345 [79] was not resolved.
!SUBENTRY 2 org.apache.lucene.misc 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.apache.lucene.core_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-07-06 16:45:12.119
!MESSAGE Bundle Myproduct_1.0.0 [171] was not resolved.
!SUBENTRY 2 Myproduct 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.eclipse.help.ui_3.5.101.
!SUBENTRY 2 Myproduct 2 0 2012-07-06 16:45:12.119
!MESSAGE Missing required bundle org.eclipse.help.webapp_3.6.0.
!ENTRY org.eclipse.osgi 4 0 2012-07-06 16:45:12.128
!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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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)
I solved the problem by enabling a specific subset of the lucene plugins.
go to you run configuration dialog for your plugin/product configuration (Run -> Run Configurations...)
Select the Plugins tab
enter "lucene" in the search field. It should display seven entries starting with org.apache.lucene*
mark everything with 2.9.1 as enabled
mark everything with 3.5.0 as disabled
Click validate Plug-ins, it should say "No problems were detected"
Got it solved by choose launch option: all workspace and enabled external plug-ins.
More about lunch options
Hm. After hours of struggling:
This error can also appear if you have the wrong "execution environment" specified on the plugins overview tab. E.g. specified JavaSE 1.7, even you only have JavaSE 1.6.
I have to merge p2 with equinox transforms in a rcp application.
I have in my config.ini this configuration:
osgi.bundles=org.eclipse.equinox.ds#2:\start,org.eclipse.osgi#-1:\start,org.eclipse.core.runtime#start,org.eclipse.equinox.common#2:\start,org.eclipse.equinox.transforms.xslt#1:\start,org.eclipse.equinox.transforms.xslt.plugin#1:\start
osgi.framework.extensions=org.eclipse.equinox.transforms.hook
I have in my transform.csv this
org.eclipse.equinox.p2.ui.sdk,transforms.product,/actionSetUpdate.xslt
in my Activator this:
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
Dictionary properties = new Hashtable();
properties.put("equinox.transformerType", "xslt");
registration = context.registerService(URL.class.getName(), context.getBundle().getEntry("/transform.csv"), properties);
}
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);
if (registration != null)
registration.unregister();
}
but it doesn't work.
!ENTRY org.eclipse.equinox.transforms.xslt.plugin 4 0 2012-01-23
13:23:07.043 !MESSAGE FrameworkEvent ERROR !STACK 0
org.osgi.framework.BundleException: The activator
org.eclipse.equinox.internal.transforms.xslt.plugin.Activator for
bundle org.eclipse.equinox.transforms.xslt.plugin is invalid at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:171)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.equinox.internal.transforms.xslt.plugin.Activator at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source) at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:164)
... 12 more Root exception: java.lang.ClassNotFoundException:
org.eclipse.equinox.internal.transforms.xslt.plugin.Activator at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source) at
org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:164)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.osgi 4 0 2012-01-23 13:23:07.824 !MESSAGE Bundle
org.eclipse.equinox.transforms.xslt.plugin_1.0.0.qualifier [59] is not
active.
!ENTRY org.eclipse.osgi 2 0 2012-01-23 13:23:07.996 !MESSAGE One or
more bundles are not resolved because the following root constraints
are not resolved: !SUBENTRY 1 org.eclipse.osgi 2 0 2012-01-23
13:23:07.996 !MESSAGE Bundle
reference:file:/C:/Users/CSP/Desktop/eclipse-jee-indigo-SR1-win32-x86_64/eclipse/plugins/org.eclipse.equinox.p2.operations_2.1.0.v20110511-1821.jar
was not resolved. !SUBENTRY 2 org.eclipse.equinox.p2.operations 2 0
2012-01-23 13:23:07.996 !MESSAGE Missing imported package
org.eclipse.equinox.internal.provisional.configurator_0.0.0. !SUBENTRY
1 org.eclipse.osgi 2 0 2012-01-23 13:23:07.996 !MESSAGE Bundle
reference:file:/C:/Users/CSP/Desktop/eclipse-jee-indigo-SR1-win32-x86_64/eclipse/plugins/org.eclipse.equinox.p2.ui_2.1.0.v20110601.jar
was not resolved. !SUBENTRY 2 org.eclipse.equinox.p2.ui 2 0 2012-01-23
13:23:07.996 !MESSAGE Missing imported package
org.eclipse.equinox.internal.provisional.configurator_0.0.0. !SUBENTRY
1 org.eclipse.osgi 2 0 2012-01-23 13:23:07.996 !MESSAGE Bundle
reference:file:/C:/Users/CSP/Desktop/eclipse-jee-indigo-SR1-win32-x86_64/eclipse/plugins/org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar
was not resolved. !SUBENTRY 2 org.eclipse.equinox.p2.director 2 0
2012-01-23 13:23:07.996 !MESSAGE Missing imported package
org.eclipse.equinox.internal.provisional.configurator_0.0.0.
!ENTRY org.eclipse.osgi 2 0 2012-01-23 13:23:08.027 !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-01-23 13:23:08.027 !MESSAGE Bundle
org.eclipse.equinox.p2.director_2.1.0.v20110504-1715 [23] was not
resolved. !SUBENTRY 2 org.eclipse.equinox.p2.director 2 0 2012-01-23
13:23:08.027 !MESSAGE Missing imported package
org.eclipse.equinox.internal.provisional.configurator_0.0.0. !SUBENTRY
1 org.eclipse.osgi 2 0 2012-01-23 13:23:08.027 !MESSAGE Bundle
org.eclipse.equinox.p2.operations_2.1.0.v20110511-1821 [28] was not
resolved. !SUBENTRY 2 org.eclipse.equinox.p2.operations 2 0 2012-01-23
13:23:08.027 !MESSAGE Missing imported package
org.eclipse.equinox.internal.p2.director_0.0.0. !SUBENTRY 2
org.eclipse.equinox.p2.operations 2 0 2012-01-23 13:23:08.027 !MESSAGE
Missing imported package
org.eclipse.equinox.internal.provisional.configurator_0.0.0. !SUBENTRY
2 org.eclipse.equinox.p2.operations 2 0 2012-01-23 13:23:08.027
!MESSAGE Missing imported package
org.eclipse.equinox.internal.provisional.p2.director_0.0.0. !SUBENTRY
2 org.eclipse.equinox.p2.operations 2 0 2012-01-23 13:23:08.027
!MESSAGE Missing imported package
org.eclipse.equinox.p2.planner_[2.0.0,3.0.0). !SUBENTRY 1
org.eclipse.osgi 2 0 2012-01-23 13:23:08.027 !MESSAGE Bundle
org.eclipse.equinox.p2.ui_2.1.0.v20110601 [30] was not resolved.
!SUBENTRY 2 org.eclipse.equinox.p2.ui 2 0 2012-01-23 13:23:08.027
!MESSAGE Missing imported package
org.eclipse.equinox.internal.p2.director_0.0.0. !SUBENTRY 2
org.eclipse.equinox.p2.ui 2 0 2012-01-23 13:23:08.027 !MESSAGE Missing
imported package
org.eclipse.equinox.internal.provisional.configurator_0.0.0. !SUBENTRY
2 org.eclipse.equinox.p2.ui 2 0 2012-01-23 13:23:08.027 !MESSAGE
Missing imported package
org.eclipse.equinox.p2.operations_[2.0.0,3.0.0). !SUBENTRY 2
org.eclipse.equinox.p2.ui 2 0 2012-01-23 13:23:08.027 !MESSAGE Missing
imported package org.eclipse.equinox.p2.planner_[2.0.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-01-23 13:23:08.027 !MESSAGE
Bundle org.eclipse.equinox.p2.ui.sdk_1.0.200.v20110502-1955 [31] was
not resolved. !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2012-01-23
13:23:08.027 !MESSAGE Missing required bundle
org.eclipse.equinox.p2.ui_0.0.0. !SUBENTRY 2
org.eclipse.equinox.p2.ui.sdk 2 0 2012-01-23 13:23:08.027 !MESSAGE
Missing optionally required bundle org.eclipse.compare_0.0.0.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2012-01-23 13:23:08.027
!MESSAGE Missing imported package
org.eclipse.equinox.p2.operations_[2.0.0,3.0.0). !SUBENTRY 1
org.eclipse.osgi 2 0 2012-01-23 13:23:08.027 !MESSAGE Bundle
org.eclipse.equinox.p2.ui.sdk.scheduler_1.0.100.v20110502-1955 [32]
was not resolved. !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler
2 0 2012-01-23 13:23:08.027 !MESSAGE Missing required bundle
org.eclipse.equinox.p2.updatechecker_0.0.0. !SUBENTRY 2
org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2012-01-23 13:23:08.027
!MESSAGE Missing required bundle org.eclipse.equinox.p2.ui_0.0.0.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2012-01-23
13:23:08.027 !MESSAGE Missing imported package
org.eclipse.equinox.internal.p2.ui.actions_0.0.0. !SUBENTRY 2
org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2012-01-23 13:23:08.027
!MESSAGE Missing imported package
org.eclipse.equinox.internal.p2.ui.query_0.0.0. !SUBENTRY 2
org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2012-01-23 13:23:08.027
!MESSAGE Missing imported package
org.eclipse.equinox.internal.provisional.p2.updatechecker_0.0.0.
!SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2012-01-23
13:23:08.027 !MESSAGE Missing imported package
org.eclipse.equinox.p2.operations_[2.0.0,3.0.0). !SUBENTRY 2
org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2012-01-23 13:23:08.027
!MESSAGE Missing imported package
org.eclipse.equinox.p2.ui_[2.0.0,3.0.0). !SUBENTRY 1 org.eclipse.osgi
2 0 2012-01-23 13:23:08.027 !MESSAGE Bundle
org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955 [33] was
not resolved. !SUBENTRY 2 org.eclipse.equinox.p2.updatechecker 2 0
2012-01-23 13:23:08.027 !MESSAGE Missing imported package
org.eclipse.equinox.p2.planner_[2.0.0,3.0.0).
Seems to me you have not included required bundles.
Stacktrace says that several packages from p2 cannot be resolved. Make sure you have resolved all dependecies that are required by p2.