Org.scala-sbt # sbt; $ {{sbt.version}}: not found in existing project

I copied the Scala framework project from git, and when I ran the $ Play command, I got this error:

Getting org.scala-sbt sbt ${{sbt.version}} ...
:: problems summary ::
:::: WARNINGS
            module not found: org.scala-sbt#sbt;${{sbt.version}}

    ==== local: tried

      D:\play-2.1.0\repository\local\org.scala-sbt\sbt\${{sbt.version}}\ivys\ivy.xml

    ==== Maven2 Local: tried

      file://C:\Users\mghesmoune.stage/.m2/repository/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom

    ==== typesafe-ivy-releases: tried

      http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml

    ==== Maven Central: tried

      http://repo1.maven.org/maven2/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom

            ::::::::::::::::::::::::::::::::::::::::::::::

            ::          UNRESOLVED DEPENDENCIES         ::

            ::::::::::::::::::::::::::::::::::::::::::::::

            :: org.scala-sbt#sbt;${{sbt.version}}: not found

            ::::::::::::::::::::::::::::::::::::::::::::::



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;${{sbt.version}}: not found
Error during sbt execution: Error retrieving required libraries
(see D:\play-2.1.0\framework\.\sbt\boot\update.log for complete log)
Error: Could not retrieve sbt ${{sbt.version}}

I am using Play-2.1.0, sbt launcher version 0.12.2 (and windows OS)

How to solve this problem?

+4
source share
2 answers

This can happen if you run the command playfrom a directory containing a directory projectwith some SBT settings. Try either to delete the directory project(but not the one that is in your application), or switch to another directory to execute the command.

+7
source

Here is the answer: Error: module not found: org.scala-sbt # sbt; $ {{sbt.version}}

, project/build.properties, :

sbt.version=0.12.2
+3

All Articles