Hi Uddipan,
That class is bundled with most modern JREs, but I'm guessing on Android
that may not be the case. You can also get that class by adding "xml-apis"
to your classpath, as found here:
http://search.maven.org/#artifactdetails%7Cxml-apis%7Cxml-apis%7C2.0.2%7Cjar
It probably makes sense for us to allow the main library to start without
that class however. I've filed a bug to that effect.
If you end up getting this working, please do feel free to let us know.
We've had many people ask about Android support over the years, but nobody
ever seems to tell us whether they got it to work, so we have no idea! :)
Cheers,
James
On Thu, Mar 21, 2013 at 9:36 AM, Uddipan Mukherjee <
uddipan.mukher...@tcs.com> wrote:
> Hi guys,
>
> I am using HAPI 2.1 beta version to implement the sample parse message in
> android.But while running in the app in the emulator I am getting following
> error.
>
> 03-21 13:13:56.750: E/AndroidRuntime(840): FATAL EXCEPTION: main
> 03-21 13:13:56.750: E/AndroidRuntime(840):*java.lang.NoClassDefFoundError:
> org.w3c.dom.bootstrap.DOMImplementationRegistry*
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> ca.uhn.hl7v2.util.XMLUtils.getDOMImpl(XMLUtils.java:52)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> ca.uhn.hl7v2.VersionLogger.checkDOMImplementation(VersionLogger.java:44)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> ca.uhn.hl7v2.VersionLogger.init(VersionLogger.java:36)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> ca.uhn.hl7v2.DefaultHapiContext.<init>(DefaultHapiContext.java:123)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> ca.uhn.hl7v2.DefaultHapiContext.<init>(DefaultHapiContext.java:109)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> ca.uhn.hl7v2.DefaultHapiContext.<init>(DefaultHapiContext.java:100)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> com.example.myhapisample.MyHapiSampleActivity$1.onClick(MyHapiSampleActivity.java:51)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> android.view.View.performClick(View.java:4202)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> android.view.View$PerformClick.run(View.java:17340)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> android.os.Handler.handleCallback(Handler.java:725)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> android.os.Handler.dispatchMessage(Handler.java:92)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> android.os.Looper.loop(Looper.java:137)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> android.app.ActivityThread.main(ActivityThread.java:5039)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> java.lang.reflect.Method.invokeNative(Native Method)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> java.lang.reflect.Method.invoke(Method.java:511)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
> 03-21 13:13:56.750: E/AndroidRuntime(840): at
> dalvik.system.NativeStart.main(Native Method)
>
>
> Which jar is missing that contains *
> org.w3c.dom.bootstrap.DOMImplementationRegistry* class?
>
> Thanks in advance.
>
> Uddipan Mukherjee
> Systems Engineer
> Tata Consultancy Services
> Ph:- 8981151600
> Cell:- 8125893206
> Mailto: uddipan.mukher...@tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty. IT Services
> Business Solutions
> Outsourcing
> ____________________________________________
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Hl7api-devel mailing list
> Hl7api-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hl7api-devel
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Hl7api-devel mailing list
Hl7api-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hl7api-devel