Re: [HAPI-devel] HAPI 2.1 beta parsing error NoClassDefFounderror

2013-03-22 Thread Jens Villadsen
This is purely an Android related issue that I have seen in other Android projects. Android simply does not like if you have any classes (be that internal or external) that are located in that specific packages (.java or javax). I still haven't found the 'right solution' for this issue, but I'm als

Re: [HAPI-devel] HAPI 2.1 beta parsing error NoClassDefFounderror

2013-03-21 Thread Uddipan Mukherjee
Hi James, Its so nice to interact with you. I have tried to use xml-apis.jar to get the definition of org.w3c.dom.bootstrap.domimplementationregistry But during compile time I am getting the following error mentioning that android does not allow illegal inclusion of java core libraries.. Tr

Re: [HAPI-devel] HAPI 2.1 beta parsing error NoClassDefFounderror

2013-03-21 Thread James Agnew
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 fo

[HAPI-devel] HAPI 2.1 beta parsing error NoClassDefFounderror

2013-03-21 Thread Uddipan Mukherjee
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.NoClassDefF