Hi Stefan,

did you define org.springframework.osgi.context in the Import-Package statement of your bundle ?
I assume that the Spring bundles are available in your OSGi container.

Regards
JB

On 06/15/2011 01:33 PM, Lorenz, Stefan wrote:
Hi,

I just tried to upgrade from Camel 2.5 to 2.7.2.
I use Camel in an Equinox OSGI environment.

But now I get the following error:

!ENTRY org.apache.camel.camel-spring 4 0 2011-06-15 13:14:53.341
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle "org.apache.camel.camel-spring_2.7.2 [23]" 
could not be resolved. Reason: Missing Constraint: Import-Package: 
org.springframework.osgi.context; version="[1.2.0,2.0.0)"

I'm not sure what I'm doing wrong. But it seems that the libraries from 
springframework are not including the missing package...
Do I have to get them manually?

Thx&  regards
Stefan

Reply via email to