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

Unable to Initialize engines when run in DockerFile. #241

Open
ayushd96 opened this issue Nov 29, 2022 · 0 comments
Open

Unable to Initialize engines when run in DockerFile. #241

ayushd96 opened this issue Nov 29, 2022 · 0 comments

Comments

@ayushd96
Copy link

Hello,
I have been trying to run the program with Restful integrated services which run on Docker.
As a restful service, it runs perfectly fine on localhost:8080/, but when run using docker, the program gives the following error:

Error: Could not find or load main class guru.nidi.graphviz.engine.GraphvizServer
Caused by: java.lang.ClassNotFoundException: guru.nidi.graphviz.engine.GraphvizServer
2022-11-29 12:11:54.463 INFO 1 --- [ Thread-1] g.n.g.engine.AbstractGraphvizEngine : Could not initialize guru.nidi.graphviz.engine.GraphvizServerEngine

java.io.IOException: Could not connect to GraphvizServer at localhost:10234
at guru.nidi.graphviz.engine.GraphvizServerEngine.doInit(GraphvizServerEngine.java:80) ~[graphviz-java-0.18.1.jar!/:na]
at guru.nidi.graphviz.engine.AbstractGraphvizEngine.initTask(AbstractGraphvizEngine.java:50) ~[graphviz-java-0.18.1.jar!/:na]
at guru.nidi.graphviz.engine.AbstractGraphvizEngine.lambda$init$0(AbstractGraphvizEngine.java:44) ~[graphviz-java-0.18.1.jar!/:na]
at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]

2022-11-29 12:11:54.470 ERROR 1 --- [nio-8080-exec-3] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is guru.nidi.graphviz.engine.GraphvizException: None of the provided engines could be initialized.] with root cause

guru.nidi.graphviz.engine.GraphvizException: None of the provided engines could be initialized.

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

1 participant