0
我試圖按照此recipe在本地安裝庫A並在另一個項目中使用B. lein安裝在A上工作,lein deps適用於B,但在運行時,我得到Could not locate A on classpath
。lein本地安裝,「找不到A_lib/core/as.clj」
尋找獨立的jar文件,生成lein [ring] uberjar
我確實有A_lib/core.clj
。但我得到
Exception in thread "main" java.io.FileNotFoundException:
Could not locate A_lib/core/as__init.class or A_lib/core/as.clj on classpath.
Please check that namespaces with dashes use underscores in the Clojure file name.,
compiling:(B/handler.clj:1:1)
爲什麼它會尋找A_lib/core/as.clj而不是A_lib/core.clj?