Clojure 2024 状态调查中分享您的想法!

欢迎!请参阅关于页面以了解更多信息。

0
tools.build
已关闭

(来自 https://clojurians.slack.com/archives/C02B5GHQWP4/p1656165951371179)
当我包含 tick/tick {:mvn/version "0.5.0-RC6"} 作为依赖项时,我得到下面的异常。我在只包含此库的 deps.edn 中无法重现,所以我相信与其他库有某种类型的冲突。

{:clojure.main/message
"在 clojure.tools.build.tasks.uber/conflict-data-readers (uber.clj:90) 出现执行错误。\n没有分派宏:?,"
:clojure.main/triage
{:clojure.error/class java.lang.RuntimeException,
:clojure.error/line 90,
:clojure.error/cause "没有分派宏:?",
:clojure.error/symbol
clojure.tools.build.tasks.uber/conflict-data-readers,
:clojure.error/source "uber.clj",
:clojure.error/phase :execution},
:clojure.main/trace
{:via
[{:type java.lang.RuntimeException,

:message "No dispatch macro for: ?",
:at [clojure.lang.Util runtimeException "Util.java" 221]}],

:trace
[[clojure.lang.Util runtimeException "Util.java" 221]
[clojure.lang.EdnReader$DispatchReader invoke "EdnReader.java" 552]
[clojure.lang.EdnReader readDelimitedList "EdnReader.java" 757]
[clojure.lang.EdnReader$MapReader invoke "EdnReader.java" 680]
[clojure.lang.EdnReader read "EdnReader.java" 145]
[clojure.lang.EdnReader read "EdnReader.java" 111]
[clojure.lang.EdnReader readString "EdnReader.java" 67]
[clojure.edn$read_string invokeStatic "edn.clj" 46]
[clojure.edn$read_string invokeStatic "edn.clj" 37]
[clojure.edn$read_string invoke "edn.clj" 37]
[clojure.tools.build.tasks.uber$conflict_data_readers

invokeStatic
"uber.clj"
90]

[clojure.tools.build.tasks.uber$conflict_data_readers

invoke
"uber.clj"
86]

[clojure.tools.build.tasks.uber$handle_conflict

invokeStatic
"uber.clj"
120]

[clojure.tools.build.tasks.uber$handle_conflict

invoke
"uber.clj"
111]

[clojure.tools.build.tasks.uber$explode invokeStatic "uber.clj" 157]
[clojure.tools.build.tasks.uber$explode invoke "uber.clj" 137]
[clojure.tools.build.tasks.uber$uber$fn3537$fn3541

invoke
"uber.clj"
253]

[clojure.lang.PersistentVector reduce "PersistentVector.java" 343]
[clojure.core$reduce invokeStatic "core.clj" 6885]
[clojure.core$reduce invoke "core.clj" 6868]
[clojure.tools.build.tasks.uber$uber$fn__3537 invoke "uber.clj" 252]
[clojure.core.protocols$iter_reduce invokeStatic "protocols.clj" 49]
[clojure.core.protocols$fn8230 invokeStatic "protocols.clj" 75]
[clojure.core.protocols$fn8230 invoke "protocols.clj" 75]
[clojure.core.protocols$fn8178$G8173__8191

invoke
"protocols.clj"
13]

[clojure.core$reduce invokeStatic "core.clj" 6886]
[clojure.core$reduce invoke "core.clj" 6868]
[clojure.tools.build.tasks.uber$uber invokeStatic "uber.clj" 250]
[clojure.tools.build.tasks.uber$uber invoke "uber.clj" 237]
[clojure.lang.Var invoke "Var.java" 384]
调用[clojure.tools.build.api$uber invokeStatic "api.clj" 480]
调用[clojure.tools.build.api$uber invoke "api.clj" 408]
调用[org.corfield.build$uber invokeStatic "build.clj" 250]
调用[org.corfield.build$uber invoke "build.clj" 208]
调用[build$uber invokeStatic "build.clj" 14]
调用[build$uber invoke "build.clj" 12]
调用[clojure.lang.AFn applyToHelper "AFn.java" 154]
调用[clojure.lang.AFn applyTo "AFn.java" 144]
调用[clojure.lang.Var applyTo "Var.java" 705]
调用[clojure.core$apply invokeStatic "core.clj" 667]
调用[clojure.core$apply invoke "core.clj" 662]
调用[clojure.run.exec$exec invokeStatic "exec.clj" 48]
调用[clojure.run.exec$exec doInvoke "exec.clj" 39]
调用[clojure.lang.RestFn invoke "RestFn.java" 423]
调用[clojure.run.exec$_main$fn__205 invoke "exec.clj" 180]
调用[clojure.run.exec$_main invokeStatic "exec.clj" 176]
调用[clojure.run.exec$_main doInvoke "exec.clj" 139]
调用[clojure.lang.RestFn applyTo "RestFn.java" 137]
调用[clojure.lang.Var applyTo "Var.java" 705]
调用[clojure.core$apply invokeStatic "core.clj" 667]
调用[clojure.main$main_opt invokeStatic "main.clj" 514]
调用[clojure.main$main_opt invoke "main.clj" 510]
调用[clojure.main$main invokeStatic "main.clj" 664]
调用[clojure.main$main doInvoke "main.clj" 616]
调用[clojure.lang.RestFn applyTo "RestFn.java" 137]
调用[clojure.lang.Var applyTo "Var.java" 705]
调用[clojure.main main "main.java" 40]],
原因:没有对应分发的宏:?

结束时备注:已在tools.build 0.8.3中修复

1 答案

0
by
...