New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNRESOLVED DEPENDENCIES #199

Closed
douglarek opened this Issue Apr 19, 2015 · 1 comment

Comments

1 participant
@douglarek

douglarek commented Apr 19, 2015

When I run sbt -DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080 run, I got this:

[info] Loading global plugins from /Users/lingchax/.sbt/0.13/plugins
[info] Loading project definition from /Volumes/work/develop/scala/webapp/project
[info] Set current project to webapp (in build file:/Volumes/work/develop/scala/webapp/)
[info] Updating {file:/Volumes/work/develop/scala/webapp/}webapp...
[info] Resolving com.twitter.common#stats;0.0.74 ...
[warn]  module not found: com.twitter.common#stats;0.0.74
[warn] ==== local: tried
[warn]   /Users/lingchax/.ivy2/local/com.twitter.common/stats/0.0.74/ivys/ivy.xml
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/twitter/common/stats/0.0.74/stats-0.0.74.pom
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/stats/0.0.74/stats-0.0.74.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading http://maven.twttr.com/com/twitter/common/metrics/0.0.9/metrics-0.0.9.jar ...
[warn]  [FAILED     ] com.twitter.common#metrics;0.0.9!metrics.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/metrics/0.0.9/metrics-0.0.9.jar did not indicate a success. See log for more detail. (1329ms)
[warn]  [FAILED     ] com.twitter.common#metrics;0.0.9!metrics.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/metrics/0.0.9/metrics-0.0.9.jar did not indicate a success. See log for more detail. (1329ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/metrics/0.0.9/metrics-0.0.9.jar
[info] downloading http://maven.twttr.com/com/twitter/common/base/0.0.67/base-0.0.67.jar ...
[warn]  [FAILED     ] com.twitter.common#base;0.0.67!base.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/base/0.0.67/base-0.0.67.jar did not indicate a success. See log for more detail. (1340ms)
[warn]  [FAILED     ] com.twitter.common#base;0.0.67!base.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/base/0.0.67/base-0.0.67.jar did not indicate a success. See log for more detail. (1340ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/base/0.0.67/base-0.0.67.jar
[info] downloading http://maven.twttr.com/com/twitter/common/quantity/0.0.52/quantity-0.0.52.jar ...
[warn]  [FAILED     ] com.twitter.common#quantity;0.0.52!quantity.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/quantity/0.0.52/quantity-0.0.52.jar did not indicate a success. See log for more detail. (1027ms)
[warn]  [FAILED     ] com.twitter.common#quantity;0.0.52!quantity.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/quantity/0.0.52/quantity-0.0.52.jar did not indicate a success. See log for more detail. (1027ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/quantity/0.0.52/quantity-0.0.52.jar
[info] downloading http://maven.twttr.com/com/twitter/common/stats-util/0.0.30/stats-util-0.0.30.jar ...
[warn]  [FAILED     ] com.twitter.common#stats-util;0.0.30!stats-util.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/stats-util/0.0.30/stats-util-0.0.30.jar did not indicate a success. See log for more detail. (1427ms)
[warn]  [FAILED     ] com.twitter.common#stats-util;0.0.30!stats-util.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/stats-util/0.0.30/stats-util-0.0.30.jar did not indicate a success. See log for more detail. (1427ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/stats-util/0.0.30/stats-util-0.0.30.jar
[info] downloading http://maven.twttr.com/com/twitter/common/util-executor-service-shutdown/0.0.36/util-executor-service-shutdown-0.0.36.jar ...
[warn]  [FAILED     ] com.twitter.common#util-executor-service-shutdown;0.0.36!util-executor-service-shutdown.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/util-executor-service-shutdown/0.0.36/util-executor-service-shutdown-0.0.36.jar did not indicate a success. See log for more detail. (1229ms)
[warn]  [FAILED     ] com.twitter.common#util-executor-service-shutdown;0.0.36!util-executor-service-shutdown.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/util-executor-service-shutdown/0.0.36/util-executor-service-shutdown-0.0.36.jar did not indicate a success. See log for more detail. (1229ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/util-executor-service-shutdown/0.0.36/util-executor-service-shutdown-0.0.36.jar
[info] downloading http://repo1.maven.org/maven2/com/twitter/jsr166e/1.0.0/jsr166e-1.0.0.jar ...
[info]  [SUCCESSFUL ] com.twitter#jsr166e;1.0.0!jsr166e.jar (5049ms)
[info] downloading http://maven.twttr.com/com/twitter/common/util-system-mocks/0.0.50/util-system-mocks-0.0.50.jar ...
[warn]  [FAILED     ] com.twitter.common#util-system-mocks;0.0.50!util-system-mocks.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/util-system-mocks/0.0.50/util-system-mocks-0.0.50.jar did not indicate a success. See log for more detail. (953ms)
[warn]  [FAILED     ] com.twitter.common#util-system-mocks;0.0.50!util-system-mocks.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/util-system-mocks/0.0.50/util-system-mocks-0.0.50.jar did not indicate a success. See log for more detail. (953ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/util-system-mocks/0.0.50/util-system-mocks-0.0.50.jar
[info] downloading http://maven.twttr.com/com/twitter/common/collections/0.0.55/collections-0.0.55.jar ...
[warn]  [FAILED     ] com.twitter.common#collections;0.0.55!collections.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/collections/0.0.55/collections-0.0.55.jar did not indicate a success. See log for more detail. (1367ms)
[warn]  [FAILED     ] com.twitter.common#collections;0.0.55!collections.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/collections/0.0.55/collections-0.0.55.jar did not indicate a success. See log for more detail. (1367ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/collections/0.0.55/collections-0.0.55.jar
[info] downloading http://maven.twttr.com/com/twitter/common/util/0.0.75/util-0.0.75.jar ...
[warn]  [FAILED     ] com.twitter.common#util;0.0.75!util.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/util/0.0.75/util-0.0.75.jar did not indicate a success. See log for more detail. (974ms)
[warn]  [FAILED     ] com.twitter.common#util;0.0.75!util.jar: The HTTP response code for http://maven.twttr.com/com/twitter/common/util/0.0.75/util-0.0.75.jar did not indicate a success. See log for more detail. (974ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/util/0.0.75/util-0.0.75.jar
[warn]  [NOT FOUND  ] com.twitter.common#jdk-logging;0.0.32!jdk-logging.jar (0ms)
[warn] ==== Twitter: tried
[warn]   http://maven.twttr.com/com/twitter/common/jdk-logging/0.0.32/jdk-logging-0.0.32.jar
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.twitter.common#stats;0.0.74: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::              FAILED DOWNLOADS            ::
[warn]  :: ^ see resolution messages for details  ^ ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.twitter.common#metrics;0.0.9!metrics.jar
[warn]  :: com.twitter.common#base;0.0.67!base.jar
[warn]  :: com.twitter.common#quantity;0.0.52!quantity.jar
[warn]  :: com.twitter.common#collections;0.0.55!collections.jar
[warn]  :: com.twitter.common#util-system-mocks;0.0.50!util-system-mocks.jar
[warn]  :: com.twitter.common#stats-util;0.0.30!stats-util.jar
[warn]  :: com.twitter.common#util;0.0.75!util.jar
[warn]  :: com.twitter.common#util-executor-service-shutdown;0.0.36!util-executor-service-shutdown.jar
[warn]  :: com.twitter.common#jdk-logging;0.0.32!jdk-logging.jar
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: com.twitter.common#stats;0.0.74: not found
download failed: com.twitter.common#metrics;0.0.9!metrics.jar
download failed: com.twitter.common#base;0.0.67!base.jar
download failed: com.twitter.common#quantity;0.0.52!quantity.jar
download failed: com.twitter.common#collections;0.0.55!collections.jar
download failed: com.twitter.common#util-system-mocks;0.0.50!util-system-mocks.jar
download failed: com.twitter.common#stats-util;0.0.30!stats-util.jar
download failed: com.twitter.common#util;0.0.75!util.jar
download failed: com.twitter.common#util-executor-service-shutdown;0.0.36!util-executor-service-shutdown.jar
download failed: com.twitter.common#jdk-logging;0.0.32!jdk-logging.jar
    at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:213)
    at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122)
    at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
    at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:116)
    at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:104)
    at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:51)
    at sbt.IvySbt$$anon$3.call(Ivy.scala:60)
    at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93)
    at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78)
    at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97)
    at xsbt.boot.Using$.withResource(Using.scala:10)
    at xsbt.boot.Using$.apply(Using.scala:9)
    at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58)
    at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48)
    at xsbt.boot.Locks$.apply0(Locks.scala:31)
    at xsbt.boot.Locks$.apply(Locks.scala:28)
    at sbt.IvySbt.withDefaultLogger(Ivy.scala:60)
    at sbt.IvySbt.withIvy(Ivy.scala:101)
    at sbt.IvySbt.withIvy(Ivy.scala:97)
    at sbt.IvySbt$Module.withModule(Ivy.scala:116)
    at sbt.IvyActions$.update(IvyActions.scala:121)
    at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1144)
    at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1142)
    at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1165)
    at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$73.apply(Defaults.scala:1163)
    at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35)
    at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1167)
    at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1162)
    at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45)
    at sbt.Classpaths$.cachedUpdate(Defaults.scala:1170)
    at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1135)
    at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1113)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
    at sbt.std.Transform$$anon$4.work(System.scala:64)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
    at sbt.Execute.work(Execute.scala:244)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
    at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: com.twitter.common#stats;0.0.74: not found
[error] download failed: com.twitter.common#metrics;0.0.9!metrics.jar
[error] download failed: com.twitter.common#base;0.0.67!base.jar
[error] download failed: com.twitter.common#quantity;0.0.52!quantity.jar
[error] download failed: com.twitter.common#collections;0.0.55!collections.jar
[error] download failed: com.twitter.common#util-system-mocks;0.0.50!util-system-mocks.jar
[error] download failed: com.twitter.common#stats-util;0.0.30!stats-util.jar
[error] download failed: com.twitter.common#util;0.0.75!util.jar
[error] download failed: com.twitter.common#util-executor-service-shutdown;0.0.36!util-executor-service-shutdown.jar
[error] download failed: com.twitter.common#jdk-logging;0.0.32!jdk-logging.jar
[error] Total time: 68 s, completed 2015-4-19 11:57:09

But I can download them from my web browser, my build.sbt:

name := "webapp"

version := "0.0.1-SNAPSHOT"

scalaVersion := "2.10.3"

libraryDependencies ++= Seq(
  "com.twitter" %% "finatra" % "1.5.3"
)

resolvers +=
  "Twitter" at "http://maven.twttr.com"

And my sbt version:

sbt launcher version 0.13.8
@douglarek

This comment has been minimized.

douglarek commented Apr 20, 2015

It works now, close it.

@douglarek douglarek closed this Apr 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment