2016-05-06 7 views
1

Ich habe ein Problem, ich möchte mein Scala-Projekt mit sbt erstellen. Ich habe scala 2.11.8, sbt about DruckSBT kümmert sich nicht um Scalaversion

[info] Loading project definition from /home/xxx 
[info] Set current project to base (in build file:/home/xxx) 
[info] This is sbt 0.13.8 
[info] The current project is {file:/home/xxx} 
[info] The current project is built against Scala 2.11.8 
[info] 
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.4 

aber immer noch, wenn ich sbt compile laufen Ich habe Ausnahme mit:

[error]  during phase: typer 
[error]  library version: version 2.10.4 
[error]  compiler version: version 2.10.4 

kann mir jemand helfen? Dank

EDIT Passwort build.sbt Datei

build.sbt

name := "myproject" 
version := "0.1" 
scalaVersion := "2.11.8" 
libraryDependencies ++= Seq(
    "io.jvm.uuid" %% "scala-uuid" % "0.2.1", 
    "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4", 
    "org.scalatest" % "scalatest_2.11" % "2.2.6" % "test", 
    "com.github.nscala-time" %% "nscala-time" % "2.12.0", 
    "ch.qos.logback" % "logback-classic" % "1.1.7", 
    "com.typesafe.scala-logging" %% "scala-logging" % "3.4.0", 
    "org.scala-lang.modules" %% "scala-xml" % "1.0.4", 
    "org.scalacheck" %% "scalacheck" % "1.13.0" % "test" 
) 

Ich habe keine build.scala für dieses Projekt

+0

poste deine build.sbt/scala Akten –

+0

Tut mir leid, getan. Ich habe keine build.scala so bearbeitet mit meinem build.sbt – Thiryn

+0

Versuchen Sie 'sbt reload'. War es vorher auf 2.10.4 eingestellt? –

Antwort

0

Für Fedora 23. Ich anfangs installiert sbt mit dem bintray-Repository. Ich musste es entfernen und sbt ohne das bintray Repo neu installieren. Ich habe nicht funktioniert, also habe ich sbt avec bintray Repository neu installiert und es funktioniert. Irgendeine Konfiguration irgendwo wurde vermasselt, denke ich ...