【发布时间】:2012-02-22 10:27:59
【问题描述】:
我已经使用 Scala 大约一年了,现在想进入 Lift。 跟着官网,我在http://simply.liftweb.net/index-Chapter-2.html#toc-Chapter-2得到了指南
但是,该示例不起作用。这是我得到的错误。
C:\Lift\hello>sbt update ~jetty-run
C:\Lift\hello>set SCRIPT_DIR=C:\scala\bin\
C:\Lift\hello>java -Xmx512M -jar "C:\scala\bin\sbt-launch.jar" update ~jetty-run
[info] Set current project to default-7944be (in build file:/C:/Lift/hello/)
[success] Total time: 0 s, completed 22 Feb, 2012 3:41:06 PM
[error] Not a valid command: jetty-run
[error] Not a valid project ID: jetty-run
[error] Not a valid configuration: jetty-run
[error] Not a valid key: jetty-run (similar: run)
[error] ~jetty-run
[error] ^
我以前没有使用过 sbt,并且不想因为必须学习 sbt、maven 或其他东西而走神。我本质上想要一个“hello”世界应用程序(在本例中为聊天应用程序)启动并运行,然后再深入研究 Lift。
很遗憾,官方“入门”指南中的第一个示例已损坏。任何想法错误是什么。我尝试了http://groups.google.com/group/simple-build-tool/browse_thread/thread/60635edfadbcd816建议的方法,没有任何运气
【问题讨论】:
-
我推荐你一个很棒的代码,一切都设置好了 - sbt 和 Lift 2.4。 github.com/heiflo/lift-basic-2.4-sbt-0.11.2