Hi Sara, This sounds like yet another dependency problem. Can you post your
dependency tree?

sent from my phone.
On Jun 2, 2014 4:49 AM, "Sara Fatima" <sara.mirz...@gmail.com> wrote:

> Hi all,
>
> I have been working this on trying to create HL7 message. I have used this
> <http://hl7api.sourceforge.net/xref/ca/uhn/hl7v2/examples/CreateAMessage.html>
>  sample
> as a helper. When I am running this as a separate java file, I am able to
> successfully create HL7 message.
>
> I am trying to include HAPI in my module. Though I am able to compile and
> run the code, I haven't got the desired result. I am getting
>
>> An Internal Error has Occurred
>>
>> *java.lang.NoClassDefFoundError*ca/uhn/hl7v2/HapiContext
>
>
> when I am trying to call the createHL7Message method.
>
> Here
> <https://github.com/saramirza14/openmrs-module-IHEInteroperability/tree/hapi>
> is the code which I am writing.
>
> I would be glad if someone could help me figure out what I am missing.
>
>
> Thanks & Regards
> Sara Fatima
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to