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.
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.