Couchbase Lite in fatjar on heroku throws execption on Couchbase.init()

25 views Asked by At

I am facing a problem which only occurs after uploading and executing my jar on heroku. Simply locally it works but online on heroku on execution the application immediately fails because of the Couchbase.init() command which throws (only on heroku) the following exception. What is the real reason behind it, can I fix it or is there any workaround?

Error

1

There are 1 answers

0
G. Blake Meike On BEST ANSWER

CouchbaseLite for Java and Android are bindings for a library written in C/C++

You have built a Jar file that either does not contain the native library, or cannot install it on your system.