I hate to break it to you, but lifty is gone. As of this writing, sbt's stable is 0.13.0. Looking at sbt community repo, the only version that was released was 1.7.4 for sbt 0.11.2.

The official website says:

The Lift Cookbook is the most up-to-date resource to learn how to use Lift.

There's a section named Creating a Lift Project from Scratch Using SBT:


You want want to create a Lift web project from scratch without using the ZIP files provided on the official Lift website.


You will need to configure SBT and the Lift project yourself. Luckily, only five small files are needed. First, create an SBT plugin file at project/plugins.sbt (all filenames are given relative to the project root directory):

addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.3.0")

This file tells SBT that you will be using the xsbt-web-plugin.

Next, create an SBT build file, build.sbt...

Unfortunately xsbt-web-plugin 0.3.0 is for sbt 0.12. So you have to either use sbt 0.12, or modify the instruction a bit. The latest xsbt-web-plugin for sbt 0.13 is 0.4.2, so in project/plugins.sbt put:

addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.4.2")

resolvers += Resolver.sonatypeRepo("public")

I was able to follow along with the rest of instructions on the page... Eventually I got everything pulled in by sbt 0.13, and was able to start the container:

> container:start
[info] Compiling 1 Scala source to /foo/sbt-lift-test/target/scala-2.10/classes...
[info] jetty-8.1.7.v20120910
[success] Total time: 2 s, completed Sep 20, 2013 10:34:22 PM

Open http://localhost:8080/ using the browser:

Welcome, you now have a working Lift installation

Related Query

More Query from same tag