I am using couchbase lite version 2.7.1 and trying to replicate and read the documents.
While creating the databse, it is giving below error in PCF env, while working fine in my windows 10 machine. Please suggest if any native lib needs to be included or there is an issue with the directory path.
java.lang.UnsatisfiedLinkError: com.couchbase.lite.internal.core.C4Database.open(Ljava/lang/String;ILjava/lang/String;II[B)J
Code :
config.setDirectory(DB_PATH);
database = new Database(DB_NAME, config);
DB_PATH = /home/vcap/app/cblite
DB_NAME = syncdb
com.couchbase.lite
couchbase-lite-java
2.7.1
4 posts - 2 participants