2
我試圖在Karaf 4.0.0M2中安裝ActiveMQ。在Apache Karaf 4.0.0.M2中安裝ActiveMq
但它總是失敗並出現錯誤。請參閱下面的控制檯。請幫我解決這個問題。
[email protected]()> feature:install jms
[email protected]()> feature:repo-add activemq
Adding feature url mvn:org.apache.activemq/activemq-karaf/LATEST/xml/features
[email protected]()> feature:install activemq-broker
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=activemq-web-console
; type=karaf.feature; version=5.12.0.SNAPSHOT [caused by: Unable to resolve activemq-web-console/5.12.0.SNAPSHOT: missing req
uirement [activemq-web-console/5.12.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.activemq.activemq-web-console; type=o
sgi.bundle; version="[5.12.0.SNAPSHOT,5.12.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.activ
emq.activemq-web-console/5.12.0.SNAPSHOT: missing requirement [org.apache.activemq.activemq-web-console/5.12.0.SNAPSHOT] osgi
.wiring.package; filter:="(&(osgi.wiring.package=javax.servlet.resources)(version>=2.5.0)(!(version>=4.0.0)))"]]
[email protected]()>
並沒有爲我工作: karaf @ root()>功能:安裝activemq-broker-noweb 執行命令時出錯:無法解析root:缺少需求[root] osgi.identity; osgi.identity = activemq-broker-noweb; ... – 2015-05-07 19:10:23
正如所說的ActiveMQ還不支持Karaf 4.另外Karaf 4不是GA,它還是一個里程碑版本。使用較舊版本的Karaf,如3或2.4。 – 2015-05-08 04:32:38
同意,克勞斯,對不起,我不是更清楚,只是想說,不幸的是,activemq-broker-noweb不能與4.0.0M2一起工作(因爲它被認爲是一種可能性)。我現在用3.0.3親自測試。感謝您多年來的持續和巨大的幫助! – 2015-05-08 13:00:32