SBT 在 JCenter 上找不到包
SBT cannot find a package on JCenter
我正在尝试使用 JCenter 存储库中的 akka-persistence-inmemory
包,但出现错误。
build.sbt:
scalaVersion := "2.12.7"
val akka_version = "2.5.17"
resolvers ++= Seq(
Resolver.jcenterRepo
)
libraryDependencies ++= Seq(
"com.github.dnvriend" % "akka-persistence-inmemory_2.11" % "2.5.15.1" % Test
// some other deps here
)
错误:
[warn] ==== jitpack: tried
[warn] https://jitpack.io/com/github/dnvriend/akka-persistence-inmemory_2.11/2.5.15.1/akka-persistence-inmemory_2.11-2.5.15.1.pom
[warn] ==== jcenter: tried
[warn] https://jcenter.bintray.com/com/github/dnvriend/akka-persistence-inmemory_2.11/2.5.15.1/akka-persistence-inmemory_2.11-2.5.15.1.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.github.dnvriend#akka-persistence-inmemory_2.11;2.5.15.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] com.github.dnvriend:akka-persistence-inmemory_2.11:2.5.15.1 (..\foo\build.sbt#L19-51)
[warn] +- default:foo_2.12:0.1
[error] sbt.librarymanagement.ResolveException: unresolved dependency: com.github.dnvriend#akka-persistence-inmemory_2.11;2.5.15.1: not found
您可以在 dnvriend bintray 存储库中找到发布的库
https://bintray.com/dnvriend/maven/akka-persistence-inmemory/
resolvers += "dnvriend" at "http://dl.bintray.com/dnvriend/maven"
jcenter 存储库未使用最新版本的库进行更新。
我正在尝试使用 JCenter 存储库中的 akka-persistence-inmemory
包,但出现错误。
build.sbt:
scalaVersion := "2.12.7"
val akka_version = "2.5.17"
resolvers ++= Seq(
Resolver.jcenterRepo
)
libraryDependencies ++= Seq(
"com.github.dnvriend" % "akka-persistence-inmemory_2.11" % "2.5.15.1" % Test
// some other deps here
)
错误:
[warn] ==== jitpack: tried
[warn] https://jitpack.io/com/github/dnvriend/akka-persistence-inmemory_2.11/2.5.15.1/akka-persistence-inmemory_2.11-2.5.15.1.pom
[warn] ==== jcenter: tried
[warn] https://jcenter.bintray.com/com/github/dnvriend/akka-persistence-inmemory_2.11/2.5.15.1/akka-persistence-inmemory_2.11-2.5.15.1.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.github.dnvriend#akka-persistence-inmemory_2.11;2.5.15.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] com.github.dnvriend:akka-persistence-inmemory_2.11:2.5.15.1 (..\foo\build.sbt#L19-51)
[warn] +- default:foo_2.12:0.1
[error] sbt.librarymanagement.ResolveException: unresolved dependency: com.github.dnvriend#akka-persistence-inmemory_2.11;2.5.15.1: not found
您可以在 dnvriend bintray 存储库中找到发布的库
https://bintray.com/dnvriend/maven/akka-persistence-inmemory/
resolvers += "dnvriend" at "http://dl.bintray.com/dnvriend/maven"
jcenter 存储库未使用最新版本的库进行更新。