SBT未解决依赖性:com.paypal.sdk#paypal-core; LATEST [英] SBT unresolved dependency: com.paypal.sdk#paypal-core;LATEST

查看:104
本文介绍了SBT未解决依赖性:com.paypal.sdk#paypal-core; LATEST的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Play框架2.3.10项目,它找不到Paypal依赖项.我怀疑这是由于LATEST版本标记引起的(也许这是SBT不支持的Maven特殊版本标记?).

I have a play framework 2.3.10 project and it can't find a paypal dependency. I suspect that it's due to the LATEST version tag (maybe it's a maven special version tag not supported by SBT?).

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.paypal.sdk#paypal-core;LATEST: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: com.paypal.sdk#paypal-core;LATEST: not found

我们没有直接包含此版本,但它是另一个依赖项的依赖项:com.paypal.sdk#merchantsdk;2.13.117.

We're not including this version directly, but it's a dependency of another dependency: com.paypal.sdk#merchantsdk;2.13.117.

您知道如何解决此问题吗?我们应该排除LATEST版本并包括一个特定的版本(如何?),还是有一种方法可以包含该LATEST依赖项?

Do you know how to solve this? Should we exclude the LATEST version and include a specific one (how?), or is there a way to include that LATEST dependency?

谢谢

推荐答案

我从商家排除了核心依赖,并手动添加了最新版本的核心.

I excluded core dependency from merchant and manually added core with the latest version.

"com.paypal.sdk"%"merchantsdk"%"2.14.117"排除("com.paypal.sdk","paypal-core"), "com.paypal.sdk"%"paypal-core"%"1.7.0",

"com.paypal.sdk" % "merchantsdk" % "2.14.117" exclude ("com.paypal.sdk","paypal-core"), "com.paypal.sdk" % "paypal-core" % "1.7.0",

这篇关于SBT未解决依赖性:com.paypal.sdk#paypal-core; LATEST的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆