org.scala-sbt#sbt;0.12.3: 未找到 [英] org.scala-sbt#sbt;0.12.3: not found

查看:69
本文介绍了org.scala-sbt#sbt;0.12.3: 未找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为此奋斗了好几天,但仍然没有运气:(尝试添加一些解析器"等等,但我没有任何正确的方向前进.看起来没有 org.scala-sbt#sbt;0.12.3但我可以访问 http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.12.3/ivys/ivy.xml使用我的浏览器(因此可以使用工件).

I have fought with that for several days but still no luck :( Tried to add some "resolvers" etc. But I have no any right direction to move along. Looks like no org.scala-sbt#sbt;0.12.3 but I can access http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.12.3/ivys/ivy.xml using my browser (so artifact is available).

顺便说一句,我支持代理服务器,但我觉得这无关紧要.

I'm behind the proxy server btw, but I have a feeling that it doesn't matter.

这是一个日志:

[info] Loading project definition from C:\proj\blogger-example\project
[info] Updating {file:/C:/proj/blogger-example/project/}default-265363...
[info] Resolving com.github.mpeltonen#sbt-idea;1.4.0 ...
[info] Resolving commons-io#commons-io;2.0.1 ...
[info] Resolving org.scala-sbt#sbt;0.12.3 ...
[warn]  module not found: org.scala-sbt#sbt;0.12.3
[warn] ==== typesafe-ivy-releases: tried
[warn]   http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.12.3/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn]   http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/org.scala-sbt/sbt/0.12.3/ivys/ivy.xml
[warn] ==== local: tried
[warn]   C:\Users\oabakumov\.ivy2\local\org.scala-sbt\sbt\0.12.3\ivys\ivy.xml
[warn] ==== Typesafe Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/org/scala-sbt/sbt/0.12.3/sbt-0.12.3.pom
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/org/scala-sbt/sbt/0.12.3/sbt-0.12.3.pom
[info] Resolving org.scala-lang#scala-library;2.9.2 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.scala-sbt#sbt;0.12.3: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: org.scala-sbt#sbt;0.12.3: not found

我的build.sbt文件:

name := "blogger-example"
version := "1.0"

我的project\plugins.sbt 文件:

resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.4.0")

推荐答案

我今天打开了我的 update.log 文件(.sbt\boot 目录).详细的日志帮助我朝着正确的方向挖掘.我有 HTTP 403 错误(意思是您无权访问该资源").所以 - 问题出在我的环境设置中(SBT 设置 - sbtconfig.txt).

I opened my update.log file (.sbt\boot directory) today. And detailed log helped me to dig in correct direction. I had HTTP 403 error (meant "you has no access to that resource"). So - the question was in my environment settings (SBT settings - sbtconfig.txt).

所以...我的建议 - 当你的构建没有明确的时候 - 转到日志文件.

So... My advice - when nothing clear with your build - go to the log file.

这篇关于org.scala-sbt#sbt;0.12.3: 未找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆