You probably need to add " :keep-non-project-classes true" to project.clj, see https://github.com/technomancy/leiningen/issues/#issue/141
On Sunday, December 12, 2010 3:34:29 AM UTC-8, manuel.weikert wrote:Hi, I'm trying to write a little tool that fetches data from the web and stores it to a mysql database. For the DB handling I decided to use ClojureQL. While developing on the REPL everything works fine and even compiling with 'lein uberjar' shows no sign of any error but as soon as try to run the program with: java -jar ivwdb-standalone.jar -u (where ivwdb is my app and -u tells it to update the db...) I get: Exception in thread "main" java.lang.NoClassDefFoundError: clojureql/core/Relation along with: Caused by: java.lang.ClassNotFoundException: clojureql.core.Relation I'm using clojureql 1.0.0-beta2 and clojure 1.2.0 together with clojure-contrib 1.2.0 And I'm including clojureql with (:require [clojureql.core :as cql]) Does anyone have any idea what I'm doing wrong this time... (again... ;-) ) Manu -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en