Your project.clj file contains
(defn -main
([] (-main ))
([port] (run-jetty app {:port (Integer. port)})))
near the end of the defproject form. That's not right.
I'm not quite sure what question to ask here. The (defn -main ...)
belongs in a source file, not in the project.clj.
On 10/21/13 4:57 PM, ingy abbas wrote:
Exception in thread "main" java.lang.IllegalArgumentException: No
value supplied for key: 1.7.1 (project.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:5441)
at clojure.lang.Compiler.load(Compiler.java:5858)
at clojure.lang.Compiler.loadFile