Closed dirtyvagabond closed 11 years ago
Tonight I created a new Clojure project, with only the Factual library included.
Again, as soon as I load my namespace (via use), an exception is thrown:
(use 'factualtest.core) IllegalAccessError read-str does not exist clojure.core/refer (core.clj:3849)
I am using Clojure 1.5.1
lein deps :tree [com.dcj.util/util-configfile "1.0.2-SNAPSHOT"] [org.clojure/tools.logging "0.2.3"] [factual/factual-clojure-driver "1.4.6"] [clj-http "0.5.2"] [cheshire "4.0.1"] [com.fasterxml.jackson.core/jackson-core "2.0.4"] [com.fasterxml.jackson.dataformat/jackson-dataformat-smile "2.0.4"] [commons-codec "1.6"] [commons-io "2.4"] [org.apache.httpcomponents/httpclient "4.2.1"] [commons-logging "1.1.1"] [org.apache.httpcomponents/httpcore "4.2.1"] [org.apache.httpcomponents/httpmime "4.2.1"] [oauth-clj "0.1.2" :exclusions [[org.slf4j/slf4j-log4j12]]] [inflections "0.7.6"] [org.clojure/data.json "0.1.2"] [slingshot "0.10.2"] [org.clojure/clojure "1.5.1"] [org.clojure/tools.trace "0.7.3"] [slamhound "1.3.0"]
Just cloned the repo, did
lein do deps, test
and got the same error.....
See pull request for various fixes. Presumably the sosumi dependency should be fixed differently than I did so, but at least I got it to kinda work.....
Hi @dcj Thanks for investigating on this issue. I have fixed the root issue for this, and deployed a hotfix 1.4.7 on clojars. sosueme is a dev dependency which lein2 replaced it with profiles. Unify json lib is also a good point. downgrade clj-http should have a reason behind @yoshimotob
From @dcj:
I haven't used the Factual Clojure driver in ages, I've been busy with other parts of LikeStream.
Need to get back to it, for a current task.
Today, I tried to do this:
and I immediately get this:
read-str does not exist [Thrown class java.lang.IllegalAccessError]
Restarts: 0: [QUIT] Quit to the SLIME top level
Backtrace: 0: core.clj:3849 clojure.core/refer 1: RestFn.java:139 clojure.lang.RestFn.applyTo 2: core.clj:619 clojure.core/apply 3: core.clj:5394 clojure.core/load-lib 4: RestFn.java:142 clojure.lang.RestFn.applyTo 5: core.clj:619 clojure.core/apply 6: core.clj:5413 clojure.core/load-libs 7: RestFn.java:137 clojure.lang.RestFn.applyTo 8: core.clj:619 clojure.core/apply 9: core.clj:5496 clojure.core/require --more--
I haven't done much poking around. Any thoughts?
Here is what lein deps :tree has to say about this….
✗ lein deps :tree [clj-http "0.5.2"] [commons-codec "1.6"] [commons-io "2.4"] [org.apache.httpcomponents/httpclient "4.2.1"] [commons-logging "1.1.1"] [org.apache.httpcomponents/httpcore "4.2.1"] [org.apache.httpcomponents/httpmime "4.2.1"] [clj-time "0.4.5"] [joda-time "2.1"] [com.cemerick/url "0.0.7"] [pathetic "0.4.0"] [com.dcj.util/util-configfile "1.0.2-SNAPSHOT"] [com.dcj.util/util-convert "1.0.2-SNAPSHOT"] [com.dcj.util/util-counter "1.0.2-SNAPSHOT"] [com.dcj.util/util-map "1.0.2-SNAPSHOT"] [com.dcj.util/util-uuid "1.0.2-SNAPSHOT"] [factual/factual-clojure-driver "1.4.6"] [oauth-clj "0.1.2" :exclusions [[org.slf4j/slf4j-log4j12]]] [inflections "0.7.6"] [org.clojure/data.json "0.1.2"] [korma "0.3.0-RC4"] [c3p0 "0.9.1.2"] [net.likestream.datasource/yelp "1.0.4-SNAPSHOT"] [enlive "1.0.1" :exclusions [[org.clojure/clojure]]] [org.ccil.cowan.tagsoup/tagsoup "1.2"] [net.likestream/likestream "1.0.4-SNAPSHOT"] [cheshire "4.0.4"] [com.fasterxml.jackson.core/jackson-core "2.1.0"] [com.fasterxml.jackson.dataformat/jackson-dataformat-smile "2.1.0"] [clj-record "1.1.4"] [clojureql "1.0.4"] [com.dcj.util/util-logging "1.0.2-SNAPSHOT"] [com.dcj.util/util-time "1.0.2-SNAPSHOT"] [me.raynes/fs "1.4.0"] [org.apache.commons/commons-compress "1.3"] [net.likestream/clj-facebook-graph "0.4.0"] [clj-oauth2 "0.2.0"] [uri "1.1.0"] [org.clojure/clojure-contrib "1.2.0"] [org.clojure/core.cache "0.6.2"] [org.clojure/core.incubator "0.1.2"] [org.clojure/core.memoize "0.5.2"] [org.clojure/java.jdbc "0.2.3"] [postgresql "9.2-1002.jdbc4"] [prismatic/plumbing "0.0.1"] [ring "1.1.8"] [ring/ring-core "1.1.8"] [commons-fileupload "1.2.1"] [javax.servlet/servlet-api "2.5"] [ring/ring-devel "1.1.8"] [clj-stacktrace "0.2.5"] [hiccup "1.0.0"] [ns-tracker "0.2.1"] [org.clojure/java.classpath "0.2.0"] [org.clojure/tools.namespace "0.1.3"] [ring/ring-jetty-adapter "1.1.8"] [org.eclipse.jetty/jetty-server "7.6.1.v20120215"] [org.eclipse.jetty.orbit/javax.servlet "2.5.0.v201103041518"] [org.eclipse.jetty/jetty-continuation "7.6.1.v20120215"] [org.eclipse.jetty/jetty-http "7.6.1.v20120215"] [org.eclipse.jetty/jetty-io "7.6.1.v20120215"] [org.eclipse.jetty/jetty-util "7.6.1.v20120215"] [ring/ring-servlet "1.1.8"] [org.clojure/clojure "1.5.1"] [org.clojure/tools.logging "0.2.6"] [org.clojure/tools.trace "0.7.3"] [slamhound "1.3.0"] [slingshot "0.10.3"]