我完全不熟悉clojure,并且我有我正在尝试构建的项目的源代码。该项目有一个project.clj文件,谷歌说,意味着我应该使用lein构建工具。但是:使用lein构建clojure项目出错
$ lein compile #lein jar does the same thing
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: Could not locate testui/core__init.class oCompiling testui.core
r testui/core.clj on classpath
我怀疑project.clj可能被破坏。 core.clj被放在src/COM/foodient/semanticanalysis/testui和project.clj看起来是这样的:
(defproject testui "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[org.clojure/clojure "1.3.0"]
[org.apache.poi/poi "3.8-beta4"]
[gate-clj "1.0.0"]]
:aot [testui.core]
:main testui.core
:run-aliases {:test testui.core/-main})
任何想法?
谢谢,这工作。我现在已经与另一个文件有同样的错误,但我认为我可以用同样的方法修复它。 – jjm