I’m running through setting up my first lift web-app from Lift in Action. When I run the jetty command after running sbt, I get the following:
[root@localhost lift-app]# sbt
[info] Building project lift-travel 1.0 against Scala 2.8.0
[info] using LiftProject with sbt 0.7.7 and Scala 2.7.7
> jetty
[info]
[info] == copy-resources ==
[info] == copy-resources ==
[info]
[info] == compile ==
[info] Source analysis: 1 new/modified, 0 indirectly invalidated, 0 removed.
[info] Compiling main sources...
[error] /home/Ramy/lift-app/src/main/scala/bootstrap/liftweb/Boot.scala:5: value liftweb is not a member of package net
[error] import net.liftweb._
[error] ^
[error] one error found
[info] == compile ==
[error] Error running compile: Compilation failed
[info]
[info] Total time: 3 s, completed Jan 29, 2012 8:11:59 PM
I can post my config if need be but i’m hoping this is enough.
For some reason the specs library isn’t in the repository anymore.
Unless you absolutely need specs unit testing you can comment out the dependency. Simply go to this line
val specs = "org.scala-tools.testing" %% "specs" % "1.6.6" % "test->default":And comment it out and sbt will hum along nicely.
From David Pollak (from liftweb@goolegroups mailing list):