我决定试试 Scalatra。但是服务器似乎没有启动,并且命令没有返回任何错误。
我首先从 GitHub 获得了 scalatra 项目:
git clone http://github.com/scalatra/scalatra-sbt-prototype.git
然后运行 sbt:
java -jar "/path/to/sbt-launch.jar" jetty-run
并得到了这个(在下载依赖项之后):
[info] Loading project definition from /home/platon/PrF/scalatra/scalatra-sbt-prototype/project
[info] Set current project to scalatra-sbt-prototype (in build file:/home/platon/PrF/scalatra/scalatra-sbt-prototype/)
[info] jetty-7.4.5.v20110725
[info] NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
[info] started o.e.j.w.WebAppContext{/,file:/home/platon/PrF/scalatra/scalatra-sbt-prototype/target/webapp/},/home/platon/PrF/scalatra/scalatra-sbt-prototype/target/webapp
[info] Started SelectChannelConnector@0.0.0.0:8080 STARTING
但是在http://localhost:8080
,我什么也没看到。我究竟做错了什么?