LauJensen/clojureql — Issue #115: IllegalArgumentException in `lein repl` with Clojure 1.3.0
Author: klauern
Created: 2011-10-13 01:36:11+00:00
State: open

Is ClojureQL supported with Leiningen and Clojure 1.3.0? I get this weird set of errors while trying to use it (still a bit of a n00b on this, fwiw):

### project.clj
```clojure
(defproject clojureql-oracle "1.0.0-SNAPSHOT"
:description "ClojureQL on Oracle Databases"
:dependencies [[org.clojure/clojure "1.3.0"]
[clojureql "1.1.0-SNAPSHOT"] ; 1.0.2 doesn't seem to be on CloJars, so up up and away we go
[com.oracle/ojdbc6 "11.2.0.2.0"]
;[org.clojure/java.jdbc "0.0.7"]
])
```

### libs downloaded from `lein deps`
```
clojure-1.3.0.jar
clojure-contrib-1.2.0.jar
clojureql-1.1.0-20110104.084027-8.jar
ojdbc6-11.2.0.2.0.jar
```

### REPL output
```
PS C:\mydocs\Clojure\clojureql-oracle> lein repl
REPL started; server listening on localhost port 34695
user=> (use 'clojureql.core)
Warning: *default-encoding* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *default-encoding* or change the name.
Warning: *buffer-size* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *buffer-size* or change the name.
Warning: *byte-array-type* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *byte-array-type* or change the name.
Warning: *char-array-type* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *char-array-type* or change the name.
Warning: *append* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *append* or change the name.
Warning: *db* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *db* or change the name.
IllegalArgumentException No matching field found: getRoot for class clojure.lang.Var clojure.lang.Reflector.getInstanceField (Reflector.java:289)user=>
```

This seems like a lot of weird errors, and being a very new Clojure developer, I don't even know what the first 6 warnings are, but that last one made me think things weren't kosher:

```
IllegalArgumentException No matching field found: getRoot for class clojure.lang.Var clojure.lang.Reflector.getInstanceField (Reflector.java:289)
```