引导 REPL 返回此错误
java.lang.Exception: No namespace: com.walmartlabs.lacinia.internal-utils
clojure.lang.Compiler$CompilerException: java.lang.Exception: No namespace: com.walmartlabs.lacinia.internal-utils, compiling:(com/walmartlabs/lacinia/parser.clj:1:1)
当我尝试在其中运行(require :reload 'entrypoint)
时。我的命名空间入口点没有代码,只有:require
导入外部代码的功能:
(ns entrypoint
"Application entrypoint."
(:require
[clojure.java.io :as io]
[com.walmartlabs.lacinia :as lacinia]
[io.pedestal.http :as http]
[clojure.java.browse :refer [browse-url]]
[clojure.edn :as edn]
[clojure.walk :as walk])
(:import (clojure.lang IPersistentMap)))
我的build.boot
样子是这样的:
(set-env!
:resource-paths #{"clj"}
:dependencies '[[org.clojure/clojure "1.9.0"]
[com.walmartlabs/lacinia "0.21.0"]
[io.aviso/logging "0.2.0"]])
我究竟做错了什么?丁: