CouchBase-lite - Context in Manager cannot be applied

I am following the instruction to set up CouchBase-lite in IntelliJ Ubuntu.

The problem is that JavaContext cannot be applied to. Any idea why ?

error message in line

manager = new Manager(context, Manager.DEFAULT_OPTIONS);

error message

Manager (com.couchbase.lite.Context,ManagerOptions) in Manager cannot be applied to (com.couchbase.lite.JavaContext,ManagerOptions)

Hi @ibrahim,

For CBL for Java, please use JavaContext to create Manager instance.

If you still see the problem, please share code snippet how the app instantiate JavaContext.