For starters, I'm not a Java programmer, so it would be helpful if your answers were not defined in terms of Java (as that makes sense).
I have a leiningen project (specifically a web project using noir ), using what seems to be a general layout of clojure source files in src/YOUR-NAMESPACE/ . So far, I managed to add directories and files, and I used the file path as the basis for ns (following the pattern that I see in the generated code).
I added a new file that did not work, and I wonder why. Its path is PROJECT-ROOT/src/bayou/lib/api-helpers.clj and its namespace (ns bayou.lib.api-helpers) . The specific error I get is:
java.io.FileNotFoundException: Could not locate bayou/lib/api_helpers__init.class or bayou/lib/api_helpers.clj on classpath
What are all the steps you need to take to clojure recognize a namespace?
classpath clojure leiningen noir
benekastah
source share