GitHub user kim2yung closed a discussion: I want to make custom docker image of
hertzbeat
Hi, I have modified backend and frontend code, now I want to make its docker
image. There is docker file in the code given for collector and server, in that
docker file there is /opt/hertzbeat which is giving error having no such path.
how to do it any suggestion??
OR should I make another docker file for each services. But when we run the
jar- lets say
java -jar apache-hertzbeat-1.6.1.jar
it gives error-
Exception in thread "main" java.lang.NoClassDefFoundError:
org/springframework/boot/SpringApplication
at org.apache.hertzbeat.manager.Manager.main(Manager.java:44)
Caused by: java.lang.ClassNotFoundException:
org.springframework.boot.SpringApplication
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
... 1 more
How to solve this?
GitHub link: https://github.com/apache/hertzbeat/discussions/3222
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]