Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-273

Android client works fine with Maven but gives class not found exception when working as android project

    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: odata4-client
    • Labels:
    • Environment:
      Android eclipse

      Description

      I am using odatajclient library for android and having issue with it . When i try building with maven , it works perfectly fine . But when i create an standalone android project with the help of ADT plugin, i am getting following error on device. I have added all the dependency to libs folder but did not help , also i have added all the three provided library for build path (under library but not in export)

      E/AndroidRuntime(14596): java.lang.NoClassDefFoundError: org.w3c.dom.bootstrap.DOMImplementationRegistry

      This problem occurs on devce at runtime.

      Any help in this regards, will be helpful as i have invested already 2 days on this problem.

      Thanks,
      Krish

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              krish.chauhan Krish chauhan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: