stefanroock/Clojure-Webapp-Example — Issue #1: Clojure 1.1 dependency leading to errors
Author: stefan-oehme
Created: 2011-11-13 15:09:44+00:00
State: open

When following the instructions, I got the following error on executing "lein repl":
To solve this problem, I deleted the dependency on Clojure 1.1.

```Exception in thread "main" java.lang.VerifyError: class leiningen.util.ns$loadin
g__4410__auto__ overrides final method meta.()Lclojure/lang/IPersistentMap; (cor
e.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:4658)
at clojure.lang.Compiler.eval(Compiler.java:4634)
at clojure.lang.Compiler.load(Compiler.java:4972)
at clojure.lang.RT.loadResourceScript(RT.java:330)
at clojure.lang.RT.loadResourceScript(RT.java:321)
at clojure.lang.RT.load(RT.java:399)
at clojure.lang.RT.load(RT.java:371)
at clojure.core$load__6449$fn__6458.invoke(core.clj:4171)
at clojure.core$load__6449.doInvoke(core.clj:4170)
at clojure.lang.RestFn.invoke(RestFn.java:413)
at clojure.core$load_one__6379.invoke(core.clj:4007)
at clojure.core$load_lib__6400.doInvoke(core.clj:4044)
at clojure.lang.RestFn.applyTo(RestFn.java:147)
at clojure.core$apply__4370.invoke(core.clj:438)
at clojure.core$load_libs__6417.doInvoke(core.clj:4070)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply__4370.invoke(core.clj:440)
at clojure.core$use__6443.doInvoke(core.clj:4148)
at clojure.lang.RestFn.invoke(RestFn.java:413)
at user$eval__1.invoke(NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:4642)
at clojure.core$eval__5236.invoke(core.clj:2017)
at clojure.main$eval_opt__7411.invoke(main.clj:227)
at clojure.main$initialize__7418.invoke(main.clj:246)
at clojure.main$script_opt__7442.invoke(main.clj:262)
at clojure.main$main__7466.doInvoke(main.clj:346)
at clojure.lang.RestFn.invoke(RestFn.java:441)
at clojure.lang.Var.invoke(Var.java:367)
at clojure.lang.AFn.applyToHelper(AFn.java:179)
at clojure.lang.Var.applyTo(Var.java:476)
at clojure.main.main(main.java:37)
Caused by: java.lang.VerifyError: class leiningen.util.ns$loading__4410__auto__
overrides final method meta.()Lclojure/lang/IPersistentMap;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at leiningen.util.ns__init.load(Unknown Source)
at leiningen.util.ns__init.(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at clojure.lang.RT.loadClassForName(RT.java:1516)
at clojure.lang.RT.load(RT.java:389)
at clojure.lang.RT.load(RT.java:371)
at clojure.core$load__6449$fn__6458.invoke(core.clj:4171)
at clojure.core$load__6449.doInvoke(core.clj:4170)
at clojure.lang.RestFn.invoke(RestFn.java:413)
at clojure.core$load_one__6379.invoke(core.clj:4007)
at clojure.core$load_lib__6400.doInvoke(core.clj:4044)
at clojure.lang.RestFn.applyTo(RestFn.java:147)
at clojure.core$apply__4370.invoke(core.clj:438)
at clojure.core$load_libs__6417.doInvoke(core.clj:4070)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply__4370.invoke(core.clj:440)
at clojure.core$use__6443.doInvoke(core.clj:4148)
at clojure.lang.RestFn.invoke(RestFn.java:458)
at leiningen.core$eval__7$loading__6309__auto____9.invoke(core.clj:1)
at leiningen.core$eval__7.invoke(core.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:4642)
... 30 more
```