本文介绍了在 Apache Karaf 4.0.0.M2 中安装 ActiveMq的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在 Karaf 4.0.0M2 中安装 ActiveMQ.
I'm trying to Install ActiveMQ in Karaf 4.0.0M2.
但它总是失败并出现错误.请参阅下面的控制台.请帮我解决这个问题.
But it always fails with an error. Please see console below. Please help me to resolve this problem.
karaf@root()> feature:install jms
karaf@root()> feature:repo-add activemq
Adding feature url mvn:org.apache.activemq/activemq-karaf/LATEST/xml/features
karaf@root()> 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)))"]]
karaf@root()>
推荐答案
安装无网络功能.- 我认为它叫做 -noweb 或 no webconsole 或类似的东西
Install the no web feature. - I think its called -noweb or no webconsole or something like that
feature:install activemq-broker-noweb
ActiveMQ Web 控制台不支持 karaf 4.
The ActiveMQ web console does not support karaf 4.
如果您想要一个用于 ActiveMQ 的 Web 控制台以及其他 hawtio 可以做的 Java 东西,您可以尝试安装 hawtio
You can try installing hawtio if you want a web console for ActiveMQ, and other Java stuff which hawtio can do
这篇关于在 Apache Karaf 4.0.0.M2 中安装 ActiveMq的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!