3

I cloned the project from:

https://github.com/dpp/simply_lift.git

Then I followed the instructions which state:

Change directories into the chat directory and type sbt update ~jetty-run.

SBT fetches dependencies, and then I get this:

[error] Not a valid command: jetty-run
[error] Expected '/'
[error] Expected ':'
[error] Not a valid key: jetty-run (similar: run)
[error] jetty-run
[error]

Now what?

0

2 Answers 2

7

In versions of SBT newer than 0.10.0, ~jetty-run has been removed in favour of:

container:start
container:stop
deployment // compiles the changes made while jetty is running.
0

You should've used sbt from the packaged archive (./sbt). Instead of a system-wide SBT (which may be new).

Anyway, I suggest to use use the new SBT and everything new, too. This is the official and good starting point for a project: https://github.com/lift/lift_25_sbt/ (personally I use it and I'm cool with how it works)

1
  • I did use the packaged ./sbt and it still failed.
    – user602525
    Jul 30, 2013 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.