sbt run issues: value coreDefaultSettings is not a member of

JohannesRudolph
Windoof-User
Windoof-User
Beiträge: 31
Registriert: 7. Nov 2010 01:42

sbt run issues: value coreDefaultSettings is not a member of

Beitrag von JohannesRudolph »

I'm getting the following error when executing sbt run from the ex01 root directory:

Code: Alles auswählen

iDevBook01:ex01 jr$ sbt run
[info] Loading project definition from /Users/jr/Desktop/sedc/ex01/project
[info] Compiling 1 Scala source to /Users/jr/Desktop/sedc/ex01/project/target/scala-2.10/sbt-0.13/classes...
[error] /Users/jr/Desktop/sedc/ex01/project/Build.scala:5: value coreDefaultSettings is not a member of object sbt.Defaults
[error]   val buildSettings = Defaults.coreDefaultSettings ++ Seq(
Googl'ing the error didn't turn up anything useful, though looking at the build.scala file I would assume something's wrong with the imports/scala installation. Installed sbt via homebrew on OSX.

JohannesRudolph
Windoof-User
Windoof-User
Beiträge: 31
Registriert: 7. Nov 2010 01:42

Re: sbt run issues: value coreDefaultSettings is not a membe

Beitrag von JohannesRudolph »

Turns out my homebrew index was (massively) out of date.

Turns out I had sbt 0.13.0 installed at first

Code: Alles auswählen

iDevBook01:ex01_solution jr$ sbt about
[warn] Ignoring load failure: no project loaded.
[info] This is sbt 0.13.0
[info] No project is currently loaded
[info] sbt, sbt plugins, and build definitions are using Scala 2.10.2
iDevBook01:ex01_solution jr$ 
running:

Code: Alles auswählen

brew uninstall sbt
brew update
brew install sbt
installed sbt 0.13.8 which appears to be working now....

Antworten

Zurück zu „Archiv“