首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >尝试将scala插件添加到播放框架中

尝试将scala插件添加到播放框架中
EN

Stack Overflow用户
提问于 2014-02-23 04:04:30
回答 2查看 175关注 0票数 3

我试图在我的play应用程序中使用以下库:https://github.com/NET-A-PORTER/scala-uri

我已经将它添加到./build.sbt中如下:

代码语言:javascript
复制
libraryDependencies ++= Seq(
  "com.netaporter" %% "scala-uri" % "0.4.0",
  ...

但是,我得到以下错误:

代码语言:javascript
复制
[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

对如何解决这个问题有什么想法吗?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2014-02-23 19:58:09

恶心,对不起。这两者都不应该是scala-uri的运行时依赖关系。

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

票数 3
EN

Stack Overflow用户

发布于 2014-02-23 04:41:42

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21964070

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档