Momog
Momog

Reputation: 577

Configuring the Lift project for Scala IDE

I'm trying to configure a Lift project for Eclipse IDE. To do this, I carry out this tutorial: http://scala-ide.org/docs/tutorials/lift24scalaide20/index.html

I arrived until the step of Configuring the Lift project for Scala IDE, and when I run the command >sbt, I have this error:

D:\lift-lift_24_sbt-61d24f7\lift_basic\build.sbt:11: error: not found: value EclipseKeys EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Resource ^ D:\lift-lift_24_sbt-61d24f7\lift_basic\build.sbt:11: error: reassignment to val EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Resource ^ [error] Type error in expression Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

I don't understand what I'm missing?

Upvotes: 3

Views: 689

Answers (1)

jcern
jcern

Reputation: 7848

I've encountered that error before, and the issue was that I didn't have the sbteclipse plugin installed. Try adding this to ~/.sbt/plugins/plugins.sbt, or wherever your sbt plugin configuration file is:

//Eclipse Plugin
resolvers += Classpaths.typesafeResolver

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.0.0")

Upvotes: 3

Related Questions