Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.Exception: java.util.ServiceConfigurationError: ai.djl.repository.zoo.ZooProvider: module org.jabref.merged.module does not declare uses #159

Open
koppor opened this issue Aug 19, 2024 · 1 comment

Comments

@koppor
Copy link
Collaborator

koppor commented Aug 19, 2024

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 [email protected]/org.jabref.gui.util.UiTaskExecutor.convertToException(Unknown Source)
	at [email protected]/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 [email protected]/ai.djl.repository.zoo.ModelZoo.<clinit>(Unknown Source)
	at [email protected]/ai.djl.repository.zoo.Criteria$Builder.optModelUrls(Unknown Source)
	at [email protected]/org.jabref.logic.ai.models.UpdateEmbeddingModelTask.call(Unknown Source)
	at [email protected]/org.jabref.logic.ai.models.UpdateEmbeddingModelTask.call(Unknown Source)
	at [email protected]/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

image

@InAnYan
Copy link
Owner

InAnYan commented Aug 21, 2024

OMG, is there any conditions to trigger this?

Is it always like that (I suppose not)

Side note: does German translation looks good? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants