我正在尝试构建compojure的hello-world示例,但它无法启动ring任务。
$ lein version
Leiningen 1.7.1 on Java 1.7.0_65 OpenJDK 64-Bit Server VM
$ lein new compojure test
Created new project in: /home/myaccount/test
Look over project.clj and start coding in compojure/core.clj
$ cd test/
$ lein ring server
That's not a task. Use "lein help" to list all tasks.
我也尝试在luminous 网站 上使用hello-world,但它也显示无法找到该任务或其他示例,即使我从他们的教程直接复制该行,lein仍然抱怨我使用了错误数量的参数。
$ lein new luminus guestbook +h2
Wrong number of arguments to new task.
Expected ([project-name] [project-name project-dir])