【问题标题】:Trying to add scala-uri plugin to play framework尝试添加 scala-uri 插件来播放框架
【发布时间】:2014-02-23 04:04:30
【问题描述】:

我正在尝试在我的游戏应用程序中使用以下库: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

关于如何解决这个问题的任何想法?

【问题讨论】:

标签: scala playframework playframework-2.0 sbt scala-2.10


【解决方案1】:

哎呀,对不起。这些都不应该是scala-uri 的运行时依赖项。

我刚刚推送了一个新版本0.4.1。你能试试吗?它们不再出现在0.4.1 pom file 而不是0.4.0 pom file 中,所以我希望这能解决您的问题。

【讨论】:

    【解决方案2】:

    显然这个项目需要一个它找不到的依赖项。也许您需要添加一个可以找到com.github.scct#scct_2.10;0.3-SNAPSHOT 的存储库。貌似是github项目,你也可以自己本地搭建。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-04-09
      • 1970-01-01
      • 2015-08-03
      • 2013-09-22
      • 2015-06-09
      • 2013-07-11
      • 2016-08-03
      • 1970-01-01
      相关资源
      最近更新 更多