Quantcast

Package dependency issues in Apache Karaf 3.x with Spring 3.2.x Spring-dm 1.2.1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Package dependency issues in Apache Karaf 3.x with Spring 3.2.x Spring-dm 1.2.1

dilunika
This post was updated on .
I am trying to deploy a camel bundle in karaf 3.0.1 which uses spring dm. When bundle is deployed, it is not getting resolved due to spring package dependency. Following are more details, please help me to resolve this issue. Do I need to revert back to spring 2.x version?

Complaining Package Dependency
------------------------------
org.springframework.osgi.context;version="[2.0,3)"


Installed Spring features
--------------------------
karaf@root()> feature:list -i | grep spring
camel-spring             | 2.13.0           | x         | camel-2.13.0            |                                                  
spring-dm                | 1.2.1            | x         | spring-3.0.1            | Spring DM support                                
spring                   | 3.2.4.RELEASE    | x         | spring-3.0.1            | Spring 3.2.x support                              
spring-jms               | 3.2.4.RELEASE    | x         | spring-3.0.1            | Spring 3.2.x JMS support                          
spring-tx                | 3.2.4.RELEASE    | x         | spring-3.0.1            | Spring 3.2.x Transaction (TX) support            


Spring-dm feature info
----------------------

karaf@root()> feature:info spring-dm
Feature spring-dm 1.2.1
Description:
  Spring DM support
Feature has no configuration
Feature has no configuration files
Feature depends on:
  spring [2.5.6,4)
Feature contains followed bundles:
  mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/3.0_1 start-level=30
  mvn:org.springframework.osgi/spring-osgi-io/1.2.1 start-level=30
  mvn:org.springframework.osgi/spring-osgi-core/1.2.1 start-level=30
  mvn:org.springframework.osgi/spring-osgi-extender/1.2.1 start-level=30
  mvn:org.springframework.osgi/spring-osgi-annotation/1.2.1 start-level=30
  mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/3.0.1 start-level=30
  mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.springstate/3.0.1 start-level=30
Feature has no conditionals.
Loading...