i'm trying to use hapi in clojure in a lein project.
i can tell lein has downloaded hapi because the first import line works,
but the next one fails.
but when i try to follow this example, i get a class not found exception:
http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CreateAMessage.html
what am i doing wrong?
here's my project.clj:
(defproject hl7-test-messages "0.1.0-SNAPSHOT"
:url "http://www.gnu.org/licenses/agpl.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[ca.uhn.hapi/hapi-base "2.1"]]]
:main hl7-test-messages.core)
and my core.clj:
(ns hl7-test-messages.core
(:gen-class))
(import '(ca.uhn.hl7v2 DefaultHapiContext HL7Exception HapiContext))
(import 'ca.uhn.hl7v2.model.v24.message.ADT_A01) ; fails here with
; class not found
(import '(ca.uhn.hl7v2.model.v24.segment MSH PID))
(import 'ca.uhn.hl7v2.parser.Parser)
(defn -main
"I don't do a whole lot ... yet."
[& args]
(println "Hello, World!"))
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel