title: Why does Java complain that namespace is not found?
body: <p>I am trying to set up a lein build environment on Windows 7 haven copied files from a successful build environment on Linux. I have maven and the jdk installed along with lein.  </p>
  
  <p>HOME points to <code>c:\Users\cnorton</code> where the maven directories are located.</p>
  
  <p>I get this error when trying to run lein repl or lein compile, and cannot figure out what I am doing wrong.</p>
  
  <p>Caused by: java.lang.Exception: namespace 'repl-test.core' not found after loading '/repl_test/core'</p>
  
  <p>Here is project.clj</p>
  
  <pre><code>(defproject repl-test "0.0.1-SNAPSHOT"
    :description "TODO: add summary of your project"
    :dependencies [[org.clojure/clojure "1.4.0"]
                   [org.clojure/clojure-contrib "1.2.0"]
                   [clojure-csv/clojure-csv "1.2.4"]
                   [org.clojure/tools.cli "0.1.0"]
                   [clj-http "0.1.3"]]
     :aot [repl-test.core]
     :main repl-test.core)
  </code></pre>
  
  <p>Here is the first part of src/repl_test/core.clj</p>
  
  <pre><code>(ns repl-test.core
    (:gen-class)
    (:use clojure.contrib.command-line)
    (:require [clojure.contrib.string :as cstr])
    (:require [clojure.contrib.trace :as ctr])
    (:require [clojure.string :as sstr])
    (:use clojure-csv.core))
  </code></pre>
  
  <p>I would be super helpful if someone could post as an answer a project.clj and the header of a core.clj that allows the project to be a main.</p>