Ah, I see. This is a "polygot" project, which Leiningen describes here:
https://github.com/technomancy/leiningen/blob/stable/doc/MIXED_PROJECTS.md That worked for me. Leiningen saves the day again. On Friday, February 22, 2013 4:25:04 PM UTC-5, larry google groups wrote: > > When I just do something obvious, like in mpdv.core: > > (ns mpdv.core > (:gen-class) > (:import > (Base64Coder)) > > and then call its static methods I get: > > Exception in thread "main" java.lang.NoClassDefFoundError: Base64Coder > (wrong name: com/omniture/security/Base64Coder), > compiling:(mpdv/core.clj:130) > > > > > On Friday, February 22, 2013 4:18:00 PM UTC-5, larry google groups wrote: >> >> I am ignorant of the JVM, and of Java, so I am sure this is a dumb >> question. >> >> I need to post to the Omniture API. They offer some sample code here: >> >> https://developer.omniture.com/en_US/blog/calling-rest-api-in-java >> >> That code depends on a Base64Coder class which they offer in a zip file. >> I downloaded it and did: >> >> javac Base64Coder.java >> >> and this gave me Base64Coder.class. >> >> I created my project with Leinengen2. >> >> I thought maybe I could just copy Base64Coder.class to the target/classes >> folder, but then how would I reference it in my code? >> >> >> -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.