Home » Eclipse Projects » Rich Client Platform (RCP) » "Missing constraint: Require-Bundle" errors for birt packages while starting RCP app
"Missing constraint: Require-Bundle" errors for birt packages while starting RCP app [message #1069159] |
Mon, 15 July 2013 05:43  |
Eclipse User |
|
|
|
I am trying to run an RCP application using Eclipse. However, the application failed to launch with "Missing Constraint: Require-Bundle" errors complaining about org.eclipse.birt packages.
Therefore, to fix this, I tried downloading org.eclipse.birt jars from birt update site for 2.3.2 using the following menu option in Eclipse: Help > Install new software. We used the following URL to download the BIRT jars with this feature: http://download.eclipse.org/birt/update-site/2.3/ . But it fails to download BIRT due to conflicting dependency issues.
Here is the screenshot of the install dialog box:

Here is the screenshot of the download error:

The complete logs found in the 'Details' section of the second screenshot is provided below:
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse BIRT Report Designer Framework 2.3.2.r232_v20081010-7N7Y7MAIe2QKQUgWXYGqJMB117Oz (org.eclipse.birt.feature.group 2.3.2.r232_v20081010-7N7Y7MAIe2QKQUgWXYGqJMB117Oz)
Software currently installed: Eclipse IDE for Java EE Developers 1.3.2.20110218-0812 (epp.package.jee 1.3.2.20110218-0812)
Only one of the following can be installed at once:
International Components for Unicode for Java (ICU4J) 4.2.1.v20100412 (com.ibm.icu 4.2.1.v20100412)
com.ibm.icu 3.6.1.v20070906
Cannot satisfy dependency:
From: Eclipse IDE for Java EE Developers 1.3.2.20110218-0812 (epp.package.jee 1.3.2.20110218-0812)
To: org.eclipse.epp.package.jee.feature.feature.group [1.3.2.20110218-0812]
Cannot satisfy dependency:
From: Eclipse BIRT Report Designer Framework 2.3.2.r232_v20081010-7N7Y7MAIe2QKQUgWXYGqJMB117Oz (org.eclipse.birt.feature.group 2.3.2.r232_v20081010-7N7Y7MAIe2QKQUgWXYGqJMB117Oz)
To: org.eclipse.birt.report.designer.feature.group [2.3.2.r232_v20081010-7X7n7WEBPrSQ8w5dz-T98JHOZpz0]
Cannot satisfy dependency:
From: Eclipse BIRT Report Designer Feature 2.3.2.r232_v20081010-7X7n7WEBPrSQ8w5dz-T98JHOZpz0 (org.eclipse.birt.report.designer.feature.group 2.3.2.r232_v20081010-7X7n7WEBPrSQ8w5dz-T98JHOZpz0)
To: com.ibm.icu [3.4.4,4.0.0)
Cannot satisfy dependency:
From: Java EE IDE Feature 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.feature.feature.group 1.3.2.20110218-0812)
To: org.eclipse.platform.feature.group [3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi]
Cannot satisfy dependency:
From: Eclipse Platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi (org.eclipse.platform.feature.group 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi)
To: org.eclipse.rcp.feature.group [3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY]
Cannot satisfy dependency:
From: Eclipse RCP 3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY (org.eclipse.rcp.feature.group 3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY)
To: com.ibm.icu [4.2.1.v20100412]
Here are the screenshots of my attempts to run the RCP application and the errors I faced:

The complete errorlog when RCP application failed to start is provided below:
!SESSION 2013-07-08 14:40:32.787 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application com.xyz.abc.rcp.application
Command-line arguments: -application com.xyz.abc.rcp.application -data C:\Workspace\abc-1.2.1/../runtime-New_configuration(2) -dev file:C:/Workspace/abc-1.2.1/.metadata/.plugins/org.eclipse.pde.core/New_configuration (2)/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
!ENTRY org.eclipse.osgi 2 0 2013-07-08 14:40:38.970
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-08 14:40:38.970
!MESSAGE Bundle reference:file:/C:/Workspace/abc-1.2.1/com.xyz.abc.reports/ was not resolved.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.emitter.prototype.excel_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.emitter.html_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.core.script.function_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.core_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt_0.0.0.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.report.model_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_2.3.2.
!ENTRY org.eclipse.osgi 2 0 2013-07-08 14:40:38.970
!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-07-08 14:40:38.970
!MESSAGE Bundle com.xyz.abc.rcp_1.0.0 [7] was not resolved.
!SUBENTRY 2 com.xyz.abc.rcp 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle com.xyz.abc.wizardview_1.0.0.
!SUBENTRY 2 com.xyz.abc.rcp 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle com.xyz.abc.reports_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-08 14:40:38.970
!MESSAGE Bundle com.xyz.abc.reports_1.0.0 [8] was not resolved.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt_0.0.0.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.core.script.function_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.emitter.html_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.core_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.report.model_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.emitter.prototype.excel_2.3.2.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-08 14:40:38.970
!MESSAGE Bundle com.xyz.abc.wizardview_1.0.0 [12] was not resolved.
!SUBENTRY 2 com.xyz.abc.wizardview 2 0 2013-07-08 14:40:38.970
!MESSAGE Missing required bundle com.xyz.abc.reports_1.0.0.
!ENTRY org.eclipse.osgi 2 0 2013-07-08 14:40:39.040
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-08 14:40:39.040
!MESSAGE Bundle reference:file:/C:/Workspace/abc-1.2.1/com.xyz.abc.reports/ was not resolved.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.emitter.prototype.excel_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.emitter.html_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.core.script.function_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.core_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt_0.0.0.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.report.model_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_2.3.2.
!ENTRY org.eclipse.osgi 2 0 2013-07-08 14:40:39.040
!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-07-08 14:40:39.040
!MESSAGE Bundle com.xyz.abc.rcp_1.0.0 [7] was not resolved.
!SUBENTRY 2 com.xyz.abc.rcp 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle com.xyz.abc.wizardview_1.0.0.
!SUBENTRY 2 com.xyz.abc.rcp 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle com.xyz.abc.reports_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-08 14:40:39.040
!MESSAGE Bundle com.xyz.abc.reports_1.0.0 [8] was not resolved.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt_0.0.0.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.core.script.function_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.emitter.html_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.core_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.report.model_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.report.engine_2.3.2.
!SUBENTRY 2 com.xyz.abc.reports 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle org.eclipse.birt.report.engine.emitter.prototype.excel_2.3.2.
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-08 14:40:39.040
!MESSAGE Bundle com.xyz.abc.wizardview_1.0.0 [12] was not resolved.
!SUBENTRY 2 com.xyz.abc.wizardview 2 0 2013-07-08 14:40:39.040
!MESSAGE Missing required bundle com.xyz.abc.reports_1.0.0.
!ENTRY org.eclipse.osgi 4 0 2013-07-08 14:40:39.040
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "com.xyz.abc.rcp.application" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.datatools.connectivity.console.profile.StorageFileEditor, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director.app.application, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.metadata.generator.EclipseGenerator, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer, org.eclipse.wst.jsdt.core.JavaCodeFormatter, org.eclipse.wst.server.preview.preview.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
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: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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
Could you please help me to resolve the issue so that I can start the RCP application successfully?
[Updated on: Tue, 16 July 2013 06:21] by Moderator
|
|
| |
Goto Forum:
Current Time: Wed Mar 26 20:14:52 EDT 2025
Powered by FUDForum. Page generated in 0.04797 seconds
|