title: No :main namespace specified in project.clj
body: <p>I just started <a href="http://pragprog.com/book/dswdcloj/web-development-with-clojure" rel="noreferrer">Web Development with Clojure</a> but I am stuck with a real simple problem. I have <code>:main myapp.core/foo</code> in the <code>project.clj</code></p>
  
  <pre><code>(defproject myapp "0.1.0-SNAPSHOT"
    :description "FIXME: write description"
    :url "http://example.com/FIXME"
    :license {:name "Eclipse Public License"
              :url "http://www.eclipse.org/legal/epl-v10.html"}
    :dependencies [[org.clojure/clojure "1.5.1"]]
    ;; this will set foo as the main function
    :main myapp.core/foo)
  </code></pre>
  
  <p>but when I run <code>lein</code> I get this error:</p>
  
  <pre><code>C:\Users\a&gt;lein run First
  No :main namespace specified in project.clj.
  C:\Users\a&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>