Description
When running the Java Test Server with CBL 3.2.0-46 on Mac M2, the following exception occurred:
Exception in thread "main" java.lang.IllegalStateException: Cannot read digest file: /libs/macos/aarch64/lib/libLiteCoreJNI.dylib.MD5 |
at com.couchbase.lite.internal.NativeLibrary.computeTargetDirectory(NativeLibrary.java:140) |
at com.couchbase.lite.internal.NativeLibrary.loadLibrary(NativeLibrary.java:99) |
at com.couchbase.lite.internal.NativeLibrary.load(NativeLibrary.java:83) |
at com.couchbase.lite.internal.CouchbaseLiteInternal.init(CouchbaseLiteInternal.java:74) |
at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:72) |
at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:56) |
at com.couchbase.lite.mobiletest.BaseTestApp.initCBL(BaseTestApp.java:41) |
at com.couchbase.lite.mobiletest.TestApp.init(TestApp.java:199) |
at com.couchbase.lite.mobiletest.TestApp.init(TestApp.java:78) |
at com.couchbase.lite.javadesktop.mobiletest.TestServerApp.initApp(TestServerApp.java:136) |
at com.couchbase.lite.javadesktop.mobiletest.TestServerApp.startApp(TestServerApp.java:75) |
at com.couchbase.lite.javadesktop.mobiletest.TestServerApp.main(TestServerApp.java:36) |
Caused by: java.io.IOException: Cannot find digest resource
|
at com.couchbase.lite.internal.NativeLibrary.computeTargetDirectory(NativeLibrary.java:129) |
... 11 more |
libs:
libs
|
├── linux
|
│ └── x86_64
|
│ └── lib
|
│ ├── libLiteCore.so
|
│ ├── libLiteCore.so.MD5
|
│ ├── libLiteCoreJNI.so
|
│ └── libLiteCoreJNI.so.MD5
|
├── macos
|
│ ├── universal
|
│ │ └── lib
|
│ │ ├── libLiteCore.dylib
|
│ │ └── libLiteCore.dylib.MD5
|
│ └── x86_64
|
│ └── lib
|
│ ├── libLiteCoreJNI.dylib
|
│ └── libLiteCoreJNI.dylib.MD5
|
└── windows
|
└── x86_64
|
└── lib
|
├── LiteCore.dll
|
├── LiteCore.dll.MD5
|
├── LiteCoreJNI.dll
|
└── LiteCoreJNI.dll.MD5
|
The Test Server Java Jar is attached.