Reputation: 193
When trying to run some of the Scala samples using Play2 (zentasks) I get the following errors:
==== Maven Central: tried
http://repo1.maven.org/maven2/org/scala-sbt/sbt_2.9.1/0.12.0/sbt_2.9.1-0.12.0.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt_2.9.1;0.12.0: not found
::::::::::::::::::::::::::::::::::::::::::::::
I have checked the following:
My project/build.properties is the following:
sbt.version=0.11.3
I've changed sbt version to 0.12.1; however, it seems that Play2 (this version) runs its own Scala and sbt version. My project/plugins.sbt is:
// Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/repo1/"
// Use the Play sbt plugin for Play projects
addSbtPlugin("play" % "sbt-plugin" % "2.0.4")
I am able to create a "new" project (working in prod) without any issues, but I can't run any of the samples. I also tried it on some others projects (deadbolt2) and had the same issue.
Upvotes: 0
Views: 788