backoffbelief / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

java.lang.NoClassDefFoundError: org.odata4j.core.OClientBehaviors #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. created android application, Add odata4j-0.4.jar , 
odata4j-clientbundle-0.4.jar in your project build path
2. add required code to consume odata service
3. Run the application with Android Emulator

What is the expected output? What do you see instead?
Getting following exception at run time,
 E/AndroidRuntime(1079): java.lang.NoClassDefFoundError: org.odata4j.core.OClientBehaviors

What version of the product are you using? On what operating system?
odata 0.4 Android 4.1 ,  <uses-sdk android:minSdkVersion="16" />

Please provide any additional information below.
Code:

org.odata4j.core.OClientBehavior basicAuth = 
org.odata4j.core.OClientBehaviors.basicAuth("user", "password");
// org.odata4j.core.OClientBehavior[] ocb = { basicAuth };
// To get ODATA Query and set the Array accordingly : sathya TODO
 ODataConsumer reader = ODataConsumer.create("http://sapv-imrom6d.lab.axongroup.co.uk:8000/sap/opu/odata/sap/Z_MCHECK_OD_SERVICE",basicAuth);

Original issue reported on code.google.com by satmano2...@gmail.com on 30 Aug 2012 at 9:21

GoogleCodeExporter commented 9 years ago
Please use the latest stable version (currently 0.7).

0.4 is quite old at this point.

Original comment by john.spurlock on 31 Aug 2012 at 12:35