0
我跟着這個CXF Proxy Example,它按照說明成功運行。將駱駝CXF代理部署到紅帽JBoss保險絲
現在我想將CXF Proxy示例部署到JBoss-Fuse中作爲OSGI Bundle。我遵循這條指令Deploying the Apache Camel Route。但這個彈出我與這個錯誤:
JBossFuse:[email protected]> install -s mvn:org.apache.camel/camel-example-cxf-proxy/2.12.2
Bundle ID: 281
Error executing command: Error installing bundles:
Unable to start bundle mvn:org.apache.camel/camel-example-cxf-proxy/2.12.2:
Unresolved constraint in bundle org.apache.camel.camel-example-cxf-proxy [281]: Unable
to resolve 281.0: missing requirement [281.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.camel.spring)(version>=2.12.0)(!(version>=2.13.0)))
JBossFuse:[email protected]>
我沒有改變任何東西。只是用它們的例子。他們有這樣對他們的pom.xml
<parent>
<groupId>org.apache.camel</groupId>
<artifactId>examples</artifactId>
<version>2.12.2</version>
</parent>
我想這通過改變進版本,但2.9.0.fuse-70-097
錯誤是一樣的(只是一個改變的版本號)
osgi.wiring.package; (&(osgi.wiring.package=org.apache.camel.spring)
(version>=2.9.0)(!(version>=2.10.0)))
'features:list | grep春天' - 你有'駱駝春'安裝? 'list | grep春天' - 哪個包版本? – vikingsteve