I am getting the common clojure error:
Unhandled java.io.FileNotFoundException Could not locate org/dsteurer/doctex__init.class or org/dsteurer/doctex.clj on classpath.
The correct file is in my project.clj :dependencies as [org.dsteurer/doctex "0.1.10"] and the files from that project are in my .m2 directory.
If I clean out the .m2 repository and restart the REPL the files from doctex are downloaded and added to the .m2 repository but the error persists.
There is no file doctex.clj. There are files core.clj and main.clj and main.clj has a :gen-class in the ns. Looking at other clojar downloads I find many which only have a core.clj and do not have a "projectname.clj" file so I'm confused. I've got dozens of clojure projects and many dozens of dependencies and this problem (where dependencies are correct and .m2 is filled correctly) is new.
You are probably requiring the wrong namespace (
One frequently used default namespace is
core, so perhaps try
The documentation of the library should include that information somewhere.
[org.dsteurer/doctex "0.1.10"]) is probably correct, it's the usage in your code that's incorrect.