【发布时间】:2014-11-25 03:28:23
【问题描述】:
我正在使用 Java 编写一个 Play 2.3.2 应用程序。
我已经分叉了邮件黑猩猩 java api 包装存储库,我已经对其进行了扩展并使用 2.0.1.2-beta 更改了模块版本。
我已将我的模块安装到本地 maven 存储库中。然后,我尝试从我的 Play 应用程序的构建中引用它,但是 play shell (activator update) 中的 update 命令给了我以下错误:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.ecwid#ecwid-mailchimp;2.0.1.2-beta: several problems occurred while resolving dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta {compile=[default(compile)]}:
[warn] URI has an authority component
[warn] URI has an authority component
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta: several problems occurred while resolving dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta {compile=[default(compile)]}:
URI has an authority component
URI has an authority component
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:217)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
...
[error] (*:update) sbt.ResolveException: unresolved dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta: several problems occurred while resolving dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta {compile=[default(compile)]}:
[error] URI has an authority component
[error] URI has an authority component
这是我的相关人员在build.sbt 文件中的一部分:
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
"Local Play Repository" at "file://$HOME/.ivy2/local",
"Local Maven Repository" at "file://$HOME/.m2/repository"
)
libraryDependencies ++= Seq(
"com.ecwid" % "ecwid-mailchimp" % "2.0.1.2-beta"
)
怎么了??
【问题讨论】:
标签: playframework sbt mailchimp playframework-2.3 typesafe-activator