嗨,我就对Clojure和Java有点浅薄,但我想使用以下git repo 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)
[...]
所以我Google了一下并尝试解决这个问题,但我不太确定问题的具体原因。
有人知道是什么原因导致这样的错误吗?也许有一些解决问题的技巧吗?
非常感谢!