Recently, I removed [com.cemerick/clojurescript.test "0.3.3"] from a project. After that point, I got this error when trying to upload to S3...
clojure.lang.Compiler$CompilerException: java.io.FileNotFoundException: Could not locate clojure/data/json__init.class or clojure/data/json.clj on classpath., compiling:(leiningen/s3_static_deploy.clj:1:1)
Recently, I removed
[com.cemerick/clojurescript.test "0.3.3"]
from a project. After that point, I got this error when trying to upload to S3...Turns out that
data.json
is used here...https://github.com/ThoughtWorksInc/lein-s3-static-deploy/blob/master/src/leiningen/s3_static_deploy.clj#L4
but not included in the project dependencies.
The lib I removed just happened to be providing it.
Looks like the solution would be to add
[org.clojure/data.json "0.2.6"]
to the project dependencies.