0

我正在尝试在使用 spring dm 的 karaf 3.0.1 中部署一个骆驼包。部署 bundle 时,由于 spring 包依赖性,它没有得到解决。以下是更多详细信息,请帮助我解决此问题。我需要恢复到 spring 2.x 版本吗?

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                   | 4.0.2.RELEASE_1  | x         | spring-3.0.1            | Spring 4.0.x 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.
4

0 回答 0