I'm getting ready for my first foray into Clojurescript. I managed to get all the tools installed under Windows, and can run the repl and compiler from the command line using the instructions found at:
https://github.com/clojure/clojurescript/wiki/Quick-Start
So far, so good. Next, I downloaded lein 1.7.1 and tried to get set up with lein-cljsbuild.
Step 1 is to add the following line to the project.clj file:
:plugins [[lein-cljsbuild "0.1.8"]]
Next I tried to run lein deps, but got the following error:
C:\temp\cljstest>lein deps
Copying 3 files to C:\temp\cljstest\.lein-plugins
Exception in thread "main" java.lang.NoClassDefFoundError: and
Caused by: java.lang.ClassNotFoundException: and
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: and. Program will exit.
I do see three files in .lein-plugins, namely commons, fs, and lein-cljsbuild jars.
But when I type:
lein cljsbuild once
from the command line, I am told that no such task exists, so I assume the error prevented the plugin from fully installing?
Any suggestions to get cljsbuild working would be great. Thanks,
Mark