嗨,我对 Clojure 和 Java 都不太熟悉,但我想使用这个 Git 仓库 https://github.com/setzer22/alignment_model_text .
当我执行安装脚本时,得到了以下错误
[INFO] --- clojure-maven-plugin:1.8.4:compile (clojure-compile) @ modelvsdocument ---
Compiling edu.upc.modelvsdocument.extraction.common to /home/user/alignment_model_text-master/modelvsdocument/target/classes
WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/boolean?
WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: clojure.tools.analyzer, being replaced by: #'clojure.tools.analyzer.utils/boolean?
Exception in thread "main" java.lang.RuntimeException: Unable to find static field: IDENT in class edu.upc.Jfreeling.AnalysisLevel, compiling:(edu/upc/nlp4bpm_commons/Freeling.clj:51:8)
at clojure.lang.Compiler.analyze(Compiler.java:6720)
at clojure.lang.Compiler.analyze(Compiler.java:6657)
at clojure.lang.Compiler$MapExpr.parse(Compiler.java:3072)
at clojure.lang.Compiler.analyze(Compiler.java:6709)
at clojure.lang.Compiler.analyze(Compiler.java:6657)
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3767)
at clojure.lang.Compiler.analyzeSeq(Compiler.java:6921)
[...]
所以我谷歌搜索并试图解决这个问题,但我并不确定具体的问题。
有人知道是什么原因导致这样的错误吗?也许有什么技巧可以解决这个问题?
非常感谢!