Instantly share code, notes, and snippets.

Embed
What would you like to do?
Clojure build failure
compile-clojure:
[java] Compiling clojure.core to /Users/michael.blume/workspace/clojure/target/classes
[java] Exception in thread "main" java.lang.LinkageError: loader constraint violation: loader (instance of clojure/lang/DynamicClassLoader) previously initiated loading for a different type with name "clojure/core/VecNode", compiling:(clojure/gvec.clj:124:1)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6715)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6460)
[java] at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5840)
[java] at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5271)
[java] at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3900)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6706)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6696)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.access$200(Compiler.java:38)
[java] at clojure.lang.Compiler$DefExpr$Parser.parse(Compiler.java:561)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6708)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6696)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6460)
[java] at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5838)
[java] at clojure.lang.Compiler$LetExpr$Parser.parse(Compiler.java:6154)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6708)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6460)
[java] at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5840)
[java] at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5271)
[java] at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3900)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6706)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6460)
[java] at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3712)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6710)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6460)
[java] at clojure.lang.Compiler$LetExpr$Parser.parse(Compiler.java:6066)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6708)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6499)
[java] at clojure.lang.Compiler.analyze(Compiler.java:6460)
[java] at clojure.lang.Compiler.compile1(Compiler.java:7285)
[java] at clojure.lang.Compiler.compile(Compiler.java:7356)
[java] at clojure.lang.RT.compile(RT.java:398)
[java] at clojure.lang.RT.load(RT.java:438)
[java] at clojure.lang.RT.load(RT.java:411)
[java] at clojure.core$load$fn__5401.invoke(core.clj:5808)
[java] at clojure.core$load.doInvoke(core.clj:5807)
[java] at clojure.lang.RestFn.applyTo(RestFn.java:137)
[java] at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3600)
[java] at clojure.lang.Compiler.compile1(Compiler.java:7290)
[java] at clojure.lang.Compiler.compile(Compiler.java:7356)
[java] at clojure.lang.RT.compile(RT.java:398)
[java] at clojure.lang.RT.load(RT.java:438)
[java] at clojure.lang.RT.load(RT.java:411)
[java] at clojure.core$load$fn__1613.invoke(core.clj:5808)
[java] at clojure.core$load.doInvoke(core.clj:5807)
[java] at clojure.lang.RestFn.invoke(RestFn.java:408)
[java] at clojure.core$load_one.invoke(core.clj:5613)
[java] at clojure.core$compile$fn__1618.invoke(core.clj:5819)
[java] at clojure.core$compile.invoke(core.clj:5818)
[java] at clojure.lang.Var.invoke(Var.java:379)
[java] at clojure.lang.Compile.main(Compile.java:67)
[java] Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of clojure/lang/DynamicClassLoader) previously initiated loading for a different type with name "clojure/core/VecNode"
[java] at java.lang.Class.getDeclaredConstructors0(Native Method)
[java] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2663)
[java] at java.lang.Class.getConstructors(Class.java:1643)
[java] at clojure.lang.Compiler$NewExpr.<init>(Compiler.java:2491)
[java] at clojure.lang.Compiler$NewExpr$Parser.parse(Compiler.java:2593)
[java] at clojure.lang.Compiler.analyzeSeq(Compiler.java:6708)
[java] ... 57 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment