我已将activemq-all 5.9添加到依赖项
libraryDependencies += "org.apache.activemq" % "activemq-all" % 5.9
但显然它还不够......编译最终出现了一个错误,表明缺少一些linkedin zookeeper依赖。有人可以帮助那是什么?谢谢!
修改的
我下载了activemq 5.9分布式zip,并认为我需要添加这些jar
libraryDependencies ++= Seq(
"org.linkedin" % "org.linkedin.zookeeper-impl" % "1.4.0",
"org.linkedin" % "org.linkedin.util-core" % "1.4.0" )
但是我最终尝试启动代理
时遇到此错误java.lang.NoSuchMethodError: scala.Predef$.augmentString(Ljava/lang/String;)Lscala/collection/immutable/StringOps;
at org.apache.activemq.leveldb.util.Log$class.$init$(Log.scala:45)
at org.apache.activemq.leveldb.LevelDBStore$.<init>(LevelDBStore.scala:39)
at org.apache.activemq.leveldb.LevelDBStore$.<clinit>(LevelDBStore.scala)
at org.apache.activemq.leveldb.replicated.ElectingLevelDBStore.<init>(ElectingLevelDBStore.scala:96)
at org.apache.activemq.store.leveldb.ReplicatedLevelDBPersistenceAdapter.<init>(ReplicatedLevelDBPersistenceAdapter.java:30)