leiningen - Trouble converting from Clojure application to latest Clojure -
i can't figure out why i'm getting following compile error after upgrading:
compiling addr-verify.core exception in thread "main" java.lang.noclassdeffounderror: clojure/lang/ilookuphost, compiling:(core.clj:39:1) @ clojure.lang.compiler$invokeexpr.eval(compiler.java:3463)
i using leiningen 2.3.4, , trying upgrade application use clojure 1.5.1 , dependencies. compiled fine old project.clj. want use clojure 1.5.1. i'm confused causing this.
these differences between 2 project.clj versions.
< (defproject addr-verify "1.0.0-snapshot" > (defproject addr-verify "1.0.1-snapshot" < :dependencies [[org.clojure/clojure "1.2.1"] < [org.clojure/clojure-contrib "1.2.0"] < [clojure-csv/clojure-csv "1.2.4"] < [org.clojure/tools.cli "0.1.0"] < [clj-http "0.1.3"]] < :main addr-verify.core) > :dependencies [[org.clojure/clojure "1.5.1"] > [clojure-csv/clojure-csv "2.0.1"] > [org.clojure/tools.cli "0.3.1"] > [clj-http "0.9.1"]] > :omit-source true > :main addr-verify.core > :aot [addr-verify.core])
run lein clean
, if haven't yet.
sometimes compiled artifacts created , reused, , can cause problems when have library version changes. lein clean
clears out artifacts.
Comments
Post a Comment