krasserm/eventsourcing-example — Issue #1: log4j dependencies messing things up
Author: wsargent
Created: 2012-03-03 08:18:22+00:00
State: open

So it looks like Zookeeper depends on Apache log4j, and log4j has dependencies on some code that is no longer found in the Typesafe Repo:

[warn]	[NOT FOUND ] javax.jms#jms;1.1!jms.jar (104ms)
[warn] ==== Typesafe Repo: tried
[warn] http://repo.typesafe.com/typesafe/releases/javax/jms/jms/1.1/jms-1.1.jar
[warn]	[NOT FOUND ] com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar (106ms)
[warn] ==== Typesafe Repo: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/sun/jdmk/jmxtools/1.2.1/jmxtools-1.2.1.jar
[warn]	[NOT FOUND ] com.sun.jmx#jmxri;1.2.1!jmxri.jar (105ms)
[warn] ==== Typesafe Repo: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/sun/jmx/jmxri/1.2.1/jmxri-1.2.1.jar
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
[warn]	:: FAILED DOWNLOADS ::
[warn]	:: ^ see resolution messages for details ^ ::
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
[warn]	:: javax.jms#jms;1.1!jms.jar
[warn]	:: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
[warn]	:: com.sun.jmx#jmxri;1.2.1!jmxri.jar
[warn]	::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/Users/wsargent/work/eventsourcing-example/}service/*:update: sbt.ResolveException: download failed: javax.jms#jms;1.1!jms.jar
[error] download failed: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
[error] download failed: com.sun.jmx#jmxri;1.2.1!jmxri.jar

The solution I found was to add this to the list of subDependencies:

"log4j" % "log4j" % "1.2.15" notTransitive(),