請幫忙。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 (所以工件可用)
我是代理服務器BTW落後,但我有一種感覺,不要緊......
。以下是日誌:
[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"
我的項目\ plugins.sbt文件:
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/" addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.4.0")
請發佈您的build.sbt – alanlcode
@alanlcode我編輯了我的文章(增加了build.sbt和plugins.sbt) –