【发布时间】:2021-08-20 02:37:27
【问题描述】:
上面关于与 Leiningen 合作的 clojure 项目的错误消息。无法让它真正拿起这个图书馆。每次我运行“lein deps”时,它都会暂停一秒钟,然后在返回之前什么也不输出。这几乎是一个骨干项目。怎么了。不要害怕询问更多信息。如果我没有任何东西可以知道我错过了什么,我不知道我错过了什么;)。
core.clj:
(ns file-name.core
(:gen-class)
(:use [dimovich.roll]))
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "Hello, World!")
)
project.clj:
(defproject file-name "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10.1"]
[dimovich/roll "0.3.2"]]
:main ^:skip-aot hospital-price-site.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]}})
【问题讨论】:
-
在 Stack Overflow 上,我们不会在更新中编写新问题(每个问题一个问题)。如果您有新问题,请提出新问题。我已经编辑了你的更新;如果愿意,您可以从编辑历史记录中恢复新问题的文本。
标签: clojure dependencies libraries leiningen prerequisites