为什么sbt updateClassifier无法下载org.scala sbt#预编译?
在unix shell中尝试以下操作:为什么sbt updateClassifier无法下载org.scala sbt#预编译?,sbt,Sbt,在unix shell中尝试以下操作: git clone git@github.com:jsuereth/sbt-in-action-examples.git cd sbt-in-action-examples/chapter11/scalastyle-plugin/ sbt updateClassifiers 使用sbt 0.13.7,我得到以下结果: [warn] [FAILED ] org.scala-sbt#precompiled-2_8_2;0.13.7!precompi
git clone git@github.com:jsuereth/sbt-in-action-examples.git
cd sbt-in-action-examples/chapter11/scalastyle-plugin/
sbt updateClassifiers
使用sbt 0.13.7,我得到以下结果:
[warn] [FAILED ] org.scala-sbt#precompiled-2_8_2;0.13.7!precompiled-2_8_2.jar: (0ms)
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_8_2/0.13.7/jars/precompiled-2_8_2.jar
…
[warn] [FAILED ] org.scala-sbt#precompiled-2_9_2;0.13.7!precompiled-2_9_2.jar: (0ms)
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_9_2/0.13.7/jars/precompiled-2_9_2.jar
…
[warn] [FAILED ] org.scala-sbt#precompiled-2_9_3;0.13.7!precompiled-2_9_3.jar: (0ms)
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/precompiled-2_9_3/0.13.7/jars/precompiled-2_9_3.jar
…
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-sbt#precompiled-2_8_2;0.13.7!precompiled-2_8_2.jar
[warn] :: org.scala-sbt#precompiled-2_9_2;0.13.7!precompiled-2_9_2.jar
[warn] :: org.scala-sbt#precompiled-2_9_3;0.13.7!precompiled-2_9_3.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[success] Total time: 4 s, completed Apr 13, 2015 9:51:15 AM
这些警告正常吗
我注意到SBT试图查找这些工件的URL与已发布工件的URL不匹配
也就是说,sbt正在寻找这些工件:
但事实上,可用的工件有:
上面的“compiler interface bin.jar”工件似乎与此处的“sources”工件相对应:
- 尼古拉斯
值得一提的是,我可以运行
updateClassifiers
很好。这看起来可能是缓存损坏或http代理问题。这些都准备好了吗?你找到解决办法了吗?没有,我还没有找到解决办法;然而,这种情况现在很少发生了,当我第一次在eclipse中签出项目,然后切换到intellij时就发生了