我试图在我的play应用程序中使用以下库:https://github.com/NET-A-PORTER/scala-uri
我已经将它添加到./build.sbt中如下:
libraryDependencies ++= Seq(
"com.netaporter" %% "scala-uri" % "0.4.0",
...但是,我得到以下错误:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbt#sbt-pgp;0.8.1: not found
[warn] :: com.github.scct#scct_2.10;0.3-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.sbt:sbt-pgp:0.8.1 (sbtVersion=0.13, scalaVersion=2.10)
[warn]
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.sbt#sbt-pgp;0.8.1: not found
[error] unresolved dependency: com.github.scct#scct_2.10;0.3-SNAPSHOT: not found对如何解决这个问题有什么想法吗?
发布于 2014-02-23 19:58:09
恶心,对不起。这两者都不应该是scala-uri的运行时依赖关系。
我刚刚推出了一个新版本的0.4.1。你能试试吗?它们不再出现在0.4.1 pom文件中,而不是0.4.0 pom文件中,所以我希望这将解决您的问题。
发布于 2014-02-23 04:41:42
显然,这个项目需要一个它找不到的依赖项。也许您需要添加一个可以找到com.github.scct#scct_2.10;0.3-SNAPSHOT的存储库。因为它似乎是一个github项目,您也可以自己在本地构建它。
https://stackoverflow.com/questions/21964070
复制相似问题