Hey Fabian, Thanks for reporting this.
I just looked into it, and yes our official download for 1.0.3.1 couchbase-lite-java is broken. It is missing quite a few jars, including the *couchbase-lite-java.jar* that you mentioned. I will do what I can to make sure this gets fixed in our next major release, but in the meantime I'd advise you to build it yourself from source: https://github.com/couchbase/couchbase-lite-java If you run into any problems, we're here to help! If the docs are confusing, please post issues onto the repo or comments on this thread and we'll improve the docs. On Tuesday, December 9, 2014 7:28:45 AM UTC-8, Fabian Steels wrote: > > Hi all, > I'm working with couchbase-lite-java (only java not android). I have > migrated from 1.0.1 version to 1.0.3 version. When I execute my application > I receive this error: > > Exception in thread "main" java.lang.RuntimeException: Failed to load >> storage. Resource: services/com.couchbase.lite.storage.SQLiteStorageEngine >> classname: >> at >> com.couchbase.lite.storage.SQLiteStorageEngineFactory.createStorageEngine(SQLiteStorageEngineFactory.java:45) >> at com.couchbase.lite.Database.open(Database.java:905) >> at com.couchbase.lite.Manager.getDatabase(Manager.java:236) >> at be.cetic.iphi.Ecriture.main(Ecriture.java:69) >> Caused by: java.lang.NullPointerException >> at com.couchbase.lite.util.TextUtils.read(TextUtils.java:52) >> at >> com.couchbase.lite.storage.SQLiteStorageEngineFactory.createStorageEngine(SQLiteStorageEngineFactory.java:38) >> ... 3 more > > In the 1.0.1 version I had this library *couchbase-lite-java.jar* that > contained classes about SQLlite storage. ( > https://github.com/couchbase/couchbase-lite-java) > In the maven repository I don't find this library ( > http://files.couchbase.com/maven2/com/couchbase/lite/) and this library > in not more given to download. > > Where can I download this library? > Thanks! > > In any case here is my pom > >> <dependencies> >> <dependency> >> <groupId>com.couchbase.lite</groupId> >> <artifactId>java-native</artifactId> >> <version>1.0.3-7</version> >> </dependency> >> <dependency> >> <groupId>com.couchbase.lite</groupId> >> <artifactId>couchbase-lite-java-core</artifactId> >> <version>1.0.3-7</version> >> </dependency> >> <dependency> >> <groupId>org.apache.httpcomponents</groupId> >> <artifactId>httpcore</artifactId> >> <version>4.3.2</version> >> </dependency> >> </dependencies> > > > > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/83fc7771-4571-4c12-a275-5f83c4fe2387%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
