Creé una nueva aplicación play-java usando el comando de play sitio web
sbt new playframework/play-java-seed.g8
Luego se agrega EBean dependencias como abajo (enlazar)
addSbtPlugin("com.typesafe.sbt" % "sbt-play-ebean" % "4.0.1")
Y ver mensaje a continuación. ¿Cómo en sbt puedo verificar qué es exactamente lo que está mal?
::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbt#sbt-play-ebean;4.0.1: 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-play-ebean:4.0.1 (scalaVersion=2.12, sbtVersion=1.0)
[warn]
[warn] Note: Unresolved dependencies path:
[warn] com.typesafe.sbt:sbt-play-ebean:4.0.1 (scalaVersion=2.12, sbtVersion=1.0) (/home/user/src/github/test-proj/project/plugins.sbt#L5-6)
[warn] +- default:test-proj-build:0.1-SNAPSHOT (scalaVersion=2.12, sbtVersion=1.0)
[error] sbt.librarymanagement.ResolveException: unresolved dependency: com.typesafe.sbt#sbt-play-ebean;4.0.1: not found
Respuestas
2 para la respuesta № 1La versión 4.0.1
de sbt-play-ebean
no está disponible para Scala 2.12 y Sbt 1.x.
Debes actualizar el sbt-play-ebean
a 4.1.0
o al menos a 4.0.6
.
Para referencia ver Repo de bintray