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