java.lang.Exception: java.util.ServiceConfigurationError: ai.djl.repository.zoo.ZooProvider: module org.jabref.merged.module does not declare `uses` #159
An error occurred while building the embedding model
java.lang.Exception: java.util.ServiceConfigurationError: ai.djl.repository.zoo.ZooProvider: module org.jabref.merged.module does not declare `uses`
at org.jabref@5.16.259/org.jabref.gui.util.UiTaskExecutor.convertToException(Unknown Source)
at org.jabref@5.16.259/org.jabref.gui.util.UiTaskExecutor.lambda$getJavaFXTask$4(Unknown Source)
at javafx.base@23-ea/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at javafx.base@23-ea/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at javafx.base@23-ea/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at javafx.base@23-ea/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at javafx.base@23-ea/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at javafx.base@23-ea/com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at javafx.base@23-ea/com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.base@23-ea/javafx.event.Event.fireEvent(Unknown Source)
at javafx.graphics@23-ea/javafx.concurrent.EventHelper.fireEvent(Unknown Source)
at javafx.graphics@23-ea/javafx.concurrent.Task.fireEvent(Unknown Source)
at javafx.graphics@23-ea/javafx.concurrent.Task.setState(Unknown Source)
at javafx.graphics@23-ea/javafx.concurrent.Task$TaskCallable.lambda$call$2(Unknown Source)
at javafx.graphics@23-ea/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics@23-ea/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
at javafx.graphics@23-ea/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at javafx.graphics@23-ea/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics@23-ea/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.util.ServiceConfigurationError: ai.djl.repository.zoo.ZooProvider: module org.jabref.merged.module does not declare `uses`
at java.base/java.util.ServiceLoader.fail(Unknown Source)
at java.base/java.util.ServiceLoader.checkCaller(Unknown Source)
at java.base/java.util.ServiceLoader.<init>(Unknown Source)
at java.base/java.util.ServiceLoader.load(Unknown Source)
at org.jabref.merged.module@5.16.259/ai.djl.repository.zoo.ModelZoo.<clinit>(Unknown Source)
at org.jabref.merged.module@5.16.259/ai.djl.repository.zoo.Criteria$Builder.optModelUrls(Unknown Source)
at org.jabref@5.16.259/org.jabref.logic.ai.models.UpdateEmbeddingModelTask.call(Unknown Source)
at org.jabref@5.16.259/org.jabref.logic.ai.models.UpdateEmbeddingModelTask.call(Unknown Source)
at org.jabref@5.16.259/org.jabref.gui.util.UiTaskExecutor$1.call(Unknown Source)
at javafx.graphics@23-ea/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
... 1 more