我正在尝试以这种方式将 slick 安装到我的 build.sbt 中:
name := "project"
version := "1.0"
scalaVersion := "2.9.1"
libraryDependencies += "com.typesafe.slick" %% "slick" % "1.0.1"
当我运行我的 sbt 时出现错误
> run
[info] Updating {file:/home/chris/project/}project...
[info] Resolving com.typesafe.slick#slick_2.9.1;1.0.1 ...
[warn] module not found: com.typesafe.slick#slick_2.9.1;1.0.1
[warn] ==== local: tried
[warn] /home/chris/.ivy2/local/com.typesafe.slick/slick_2.9.1/1.0.1/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/slick/slick_2.9.1/1.0.1/slick_2.9.1-1.0.1.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.slick#slick_2.9.1;1.0.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.slick#slick_2.9.1;1.0.1: not found
[error] Total time: 9 s, completed Sep 12, 2013 5:09:25 PM
错误中的 url 不可用,我的问题是,如果我无法从该公共 url 获取此特定版本的代码,我在哪里可以获取该特定版本的代码,一旦我有了代码,我应该将它安装到哪里?