未解决的依赖项:com.typesafe.play(Play Java)

时间:2016-07-10 06:49:42

标签: playframework sbt

我收到有关typesafe.play的类似错误。我添加了scalaVersion:=" 2.11.7"到我的build.sbt文件,仍然看到相同的错误。

build.sbt

version := "1.0-SNAPSHOT"

lazy val root = (project in file("."))
  .enablePlugins(PlayJava, PlayEbean)
  .dependsOn(celsus)
  .aggregate(celsus)

lazy val celsus = (project in file("libs/celsus"))
  .enablePlugins(PlayJava)

scalaVersion := "2.11.7"

libraryDependencies ++= Seq(
  javaJdbc,
  cache,
  javaWs,
  "com.amazonaws" % "aws-java-sdk" % "1.3.11"
)

plugins.sbt

resolvers += "Typesafe repository" at http://repo.typesafe.com/typesafe/releases/"
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.4")

收到错误

Error:Error while importing SBT project:
...
[trace] Stack trace suppressed: run 'last root/:ssExtractDependencies' for the full output. [error] (celsus/:update) sbt.ResolveException: unresolved dependency: com.typesafe.play#play-server_2.10;2.5.4: not found [error] unresolved dependency: com.typesafe.play#play-java_2.10;2.5.4: not found [error] unresolved dependency: com.typesafe.play#play-netty-server_2.10;2.5.4: not found [error] unresolved dependency: com.typesafe.play#play-logback_2.10;2.5.4: not found [error] unresolved dependency: com.typesafe.play#play-test_2.10;2.5.4: not found [error] unresolved dependency: com.typesafe.play#play-omnidoc_2.10;2.5.4: not found

有人可以帮忙吗?

0 个答案:

没有答案