【发布时间】:2015-03-22 21:39:21
【问题描述】:
我正在尝试在 Karaf 中安装 ActiveMQ。我确实看到了一个关于错误的答案,并且我确实跟进了该问题的答案。我试图添加 ActiveMQ 的“最新”版本,但没有运气。
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 requirement [activemq-web- console/5.12.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.activemq.activemq-web-console; type=osgi.bundle; version="[5.12.0.SNAPSHOT,5.12.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.activemq.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 工作正常。我通过添加 Camel 然后运行示例应用程序来确保这一点。该应用程序运行良好,日志在“bin/data”文件夹中生成良好。 任何指针都会有所帮助。我还没有使用 Karaf 的经验,所以如果您知道 Karaf 的任何论坛或邮件列表,将不胜感激。
【问题讨论】:
-
@ClausIbsen 该问题中解释的问题与我的问题中的问题不完全相同,除了答案之外,不接受答案,因为这对任何一个问题都没有帮助。