У меня проблема, я хочу построить свой проект scala с помощью sbt. меня 2.11.8 Скала, sbt about
печатьSBT не заботится о скаляризации
[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
, но до сих пор, когда я бегу sbt compile
у меня есть исключение с:
[error] during phase: typer
[error] library version: version 2.10.4
[error] compiler version: version 2.10.4
может кто-то мне помочь? Благодаря
EDIT Вспомнить build.sbt файл
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"
)
У меня нет никакого build.scala для этого проекта
опубликуйте свои файлы build.sbt/scala –
Простите. У меня нет какой-либо build.scala, так отредактированной с моим build.sbt – Thiryn
Попробуйте 'sbt reload'. Был ли он ранее установлен 2.10.4? –