Unresolved dependency when using Elastisch 2.0.0-beta1

261 views
Skip to first unread message

Jon Randall

unread,
Mar 14, 2014, 4:14:14 PM3/14/14
to clojure-el...@googlegroups.com
Failed trying to require sql-datomic.utils with: java.lang.ClassNotFoundException: org.apache.http.conn.ssl.SSLContexts URLClassLoader.java:366 java.net.URLClassLoader$1.run URLClassLoader.java:355 java.net.URLClassLoader$1.run (Unknown Source) java.security.AccessController.doPrivileged URLClassLoader.java:354 java.net.URLClassLoader.findClass DynamicClassLoader.java:61 clojure.lang.DynamicClassLoader.findClass ClassLoader.java:425 java.lang.ClassLoader.loadClass ClassLoader.java:358 java.lang.ClassLoader.loadClass (Unknown Source) java.lang.Class.forName0 Class.java:190 java.lang.Class.forName conn_mgr.clj:1 clj-http.conn-mgr/eval7501[fn] conn_mgr.clj:1 clj-http.conn-mgr/eval7501

In my project.clj:
  :dependencies [[org.clojure/clojure "1.5.1"]
                 [com.datomic/datomic-pro "0.9.4578"]
                 [korma "0.3.0-RC5"]
                 [com.microsoft.sqlserver/sqljdbc4 "4.0"]
                 [clojurewerkz/elastisch "2.0.0-beta1"]
                 [org.elasticsearch/elasticsearch "1.0.1"]
                 ])

This happens when I change the project dependency from 1.4.0 and 0.90.11 to what is shown.

Can anyone tell me what I'm missing?

Thanks!
Jon


Michael Klishin

unread,
Mar 14, 2014, 5:34:12 PM3/14/14
to clojure-el...@googlegroups.com

2014-03-15 0:14 GMT+04:00 Jon Randall <jran...@alum.mit.edu>:
Can anyone tell me what I'm missing?

Something uses HTTPCore 4.2. Exclude clj-http for Elastisch (with :exclusions) and add dependency
on clj-http 0.7.6, which uses HTTPCore 4.2.

Michael Klishin

unread,
Mar 14, 2014, 5:34:27 PM3/14/14
to clojure-el...@googlegroups.com

2014-03-15 1:34 GMT+04:00 Michael Klishin <michael....@gmail.com>:
Something uses HTTPCore 4.2. Exclude clj-http for Elastisch (with :exclusions) and add dependency
on clj-http 0.7.6, which uses HTTPCore 4.2.

and, of course, to know what does, run lein deps :tree
Reply all
Reply to author
Forward
0 new messages