Missing Constraint: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.5.0,4.0.0) [message #661495] |
Thu, 24 March 2011 18:42  |
Eclipse User |
|
|
|
Hi !
I am currently reading the book Eclipse RCP. I went through the chapters 1 to 14 without any big issue, but now I am completely blocked at chapter 17.
The problem is the following :
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.5.0,4.0.0)"
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.2.0,4.0.0)"
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar/ was not resolved.
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.update.configurator_3.3.0.v20090312.jar/ was not resolved.
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-24 23:30:06.768
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.core.runtime_3.5.0.v20090525.jar/ was not resolved.
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.update.configurator_3.3.0.v20090312.jar/ was not resolved.
!MESSAGE Missing required bundle org.eclipse.equinox.common_[3.2.0,4.0.0).
!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:
!MESSAGE Missing optionally required bundle org.eclipse.core.runtime.compatibility.auth_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2011-03-24 23:30:06.770
!MESSAGE Missing required bundle org.eclipse.equinox.app_[1.0.0,2.0.0).
!SUBENTRY 2 org.eclipse.core.runtime 2 0 2011-03-24 23:30:06.770
!MESSAGE Missing imported package org.eclipse.core.internal.runtime.auth_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2011-03-24 23:30:06.770
!MESSAGE Bundle org.eclipse.update.configurator_3.3.0.v20090312 [2] was not resolved.
!SUBENTRY 2 org.eclipse.update.configurator 2 0 2011-03-24 23:30:06.770
!MESSAGE Missing required bundle org.eclipse.equinox.common_[3.2.0,4.0.0).
I have already spent hours on this issue. I can reproduce it under both MacOS X and Windows, with a clean Eclipse installation (I tried both Galileo and Helios). What is especially ununderstandable is that the difference between chapter 14 and 17 is really not that big.
I am really stuck and would appreciate any help...
Thanks !
Best regards
Olivier
[Updated on: Sun, 18 December 2022 09:16] by Moderator
|
|
|
|
|
Re: Missing Constraint: Require-Bundle: org.eclipse.equinox.common; bundle-version="[3.5.0,4.0. [message #662002 is a reply to message #661897] |
Mon, 28 March 2011 16:06  |
Eclipse User |
|
|
|
Many thanks Paul, you put me on the right track.
I used to right click on my product, and do "Run as / Eclipse application" from there. It used to work with the previous samples from the book, but starting with chapter 16, it doesn't anymore obviously.
I have created a brand new configuration and it worked. I still have to investigate what's wrong exactly, but at least my application is starting now. Many plugins I don't need are contributing to the toolbars, indicating that the application is still carrying too much plugins, and I will have to look into this too.
Thanks again !
|
|
|
Powered by
FUDForum. Page generated in 0.02660 seconds