Search code examples
androidcouchdbobject-persistence

Android object persistance: Ektorp and CouchDB


Hi: Has someone experience with object persistence on Android by using ektorp and CouchDB? Including the 'Simple Logging Facade for Java (SLF4J)' jar is necessary to try this out.

I tried to get it running but I still get a 'java.lang.ExceptionInInitializerError' because of 'ERROR/AndroidRuntime(2573): Caused by: java.lang.NoClassDefFoundError: org.ektorp.impl.StdCouchDbInstance$1'.


Solution

  • Initialization of the CouchDbInstance fails where it references a type from the Jackson library.

    Make sure you have Jackson on your classpath.