leiningen - Clojure could not locate __init.class in clojars dependency -


i getting common clojure error:

unhandled java.io.filenotfoundexception not locate org/dsteurer/doctex__init.class or org/dsteurer/doctex.clj on classpath. 

the correct file in project.clj :dependencies [org.dsteurer/doctex "0.1.10"] , files project in .m2 directory.

if clean out .m2 repository , restart repl files doctex downloaded , added .m2 repository error persists.

there no file doctex.clj. there files core.clj , main.clj , main.clj has :gen-class in ns. looking @ other clojar downloads find many have core.clj , not have "projectname.clj" file i'm confused. i've got dozens of clojure projects , many dozens of dependencies , problem (where dependencies correct , .m2 filled correctly) new.

you requiring wrong namespace (org.dsteurer.doctex).

one used default namespace core, perhaps try

(:require [doctex.core]) 

the documentation of library should include information somewhere.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -