Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lein install got Exception in thread "main" java.lang.Exception: Unable to resolve spec: :avi.documents/document-ref #35

Open
zsdz opened this issue Dec 26, 2019 · 0 comments

Comments

@zsdz
Copy link

zsdz commented Dec 26, 2019

My java version is 1.8,lein is 2.8

when use lein install,got this error:

wangkai@wangkai-VirtualBox:~/code/clojurefromgit/avi$ lein.sh install /usr/local
Compiling 1 source files to /home/wangkai/code/clojurefromgit/avi/target/classes
Compiling avi.lenses
java.lang.Exception: Unable to resolve spec: :avi.documents/document-ref, compiling:(lenses.clj:4:1)
Exception in thread "main" java.lang.Exception: Unable to resolve spec: :avi.documents/document-ref, compiling:(lenses.clj:4:1)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3657)
at clojure.lang.Compiler.compile1(Compiler.java:7493)
at clojure.lang.Compiler.compile(Compiler.java:7560)
at clojure.lang.RT.compile(RT.java:408)
at clojure.lang.RT.load(RT.java:453)
at clojure.lang.RT.load(RT.java:421)
at clojure.core$load$fn__7596.invoke(core.clj:6007)
at clojure.core$load.invokeStatic(core.clj:6006)
at clojure.core$load.doInvoke(core.clj:5990)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invokeStatic(core.clj:5811)
at clojure.core$compile$fn__7601.invoke(core.clj:6017)
at clojure.core$compile.invokeStatic(core.clj:6017)
at clojure.core$compile.invoke(core.clj:6009)
at user$eval30$fn__39.invoke(form-init5876265382129098586.clj:1)
at user$eval30.invokeStatic(form-init5876265382129098586.clj:1)
at user$eval30.invoke(form-init5876265382129098586.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6946)
at clojure.lang.Compiler.eval(Compiler.java:6936)
at clojure.lang.Compiler.eval(Compiler.java:6936)
at clojure.lang.Compiler.load(Compiler.java:7398)
at clojure.lang.Compiler.loadFile(Compiler.java:7336)
at clojure.main$load_script.invokeStatic(main.clj:275)
at clojure.main$init_opt.invokeStatic(main.clj:277)
at clojure.main$init_opt.invoke(main.clj:277)
at clojure.main$initialize.invokeStatic(main.clj:308)
at clojure.main$null_opt.invokeStatic(main.clj:342)
at clojure.main$null_opt.invoke(main.clj:339)
at clojure.main$main.invokeStatic(main.clj:421)
at clojure.main$main.doInvoke(main.clj:384)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
Caused by: java.lang.Exception: Unable to resolve spec: :avi.documents/document-ref
at clojure.spec$the_spec.invokeStatic(spec.clj:107)
at clojure.spec$spec_impl.invokeStatic(spec.clj:787)
at clojure.spec$spec_impl.invokeStatic(spec.clj:783)
at clojure.spec$def_impl.invokeStatic(spec.clj:275)
at clojure.spec$def_impl.invoke(spec.clj:271)
at clojure.lang.AFn.applyToHelper(AFn.java:160)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3652)
... 34 more
Compilation failed: Subprocess failed

can you help me?Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant