【发布时间】:2012-11-30 13:05:33
【问题描述】:
我试图运行从 Camel 网站下载的 camel-example-cxf 示例项目。 (已下载 apache-camel-2.10.2)
我使用 pom.xml 构建了项目,并且构建成功。 但是,当我尝试在 servicemix (apache-servicemix-4.4.2) 中部署它时,出现以下错误。
karaf@root> ERROR: Bundle org.apache.camel.camel-example-cxf [43] Error starting file:/C:/apache-servicemix-4.4.2/deploy
/camel-example-cxf-2.10.2.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-example-cxf [43]: Unable to resolve 43.0: missing requirement [43.0] package; (&(package=org.apache.activemq.broker)(version>=5.7.0)(!(version>=6.0.0))))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-example-cxf [43]: Unable to resolve 43.0: missing requirement [43.0] package; (&(package=org.apache.activemq.broker)(version>=5.7.0)(!(version>=6.0.0)))
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:619)
请帮忙
【问题讨论】:
-
你想做什么?
-
你好 Olle,我正在尝试将 camel-example-cxf(它是 camel 2.10.2 版本的一部分)项目部署到 ServiceMix4.4.2 中。但是正如克劳斯在下面回答的那样,看来我必须下载骆驼2.8.X。我目前正在下载它。我会在这里发布结果。
标签: web-services apache-camel tomcat6 apache-servicemix