05 Sep 2019
12:46 PM
- last edited on
15 Dec 2021
02:58 AM
by
MaciejNeumann
after installing dynatrace one agent. I have rebuilt my project and when I run, I see the following in the trace
Caused by: java.lang.NoClassDefFoundError: com/compuware/apm/agent/introspection/metrics/MetricsIntrospection
at org.eclipse.jetty.server.Server.doStart(Server.java)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at snip.data.security.object.impl.ApiApplication.start(ApiApplication.java:351)
at snip.data.security.object.impl.ApiApplication.start(ApiApplication.java:233)
... 8 more
Caused by: java.lang.ClassNotFoundException: com.compuware.apm.agent.introspection.metrics.MetricsIntrospection
at snip.virtual.VirtualClassLoader.loadClass(VirtualClassLoader.java:550)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 14 more
Due to this, my service does not start. After I uninstalled oneagent everything returned to normal.
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
Linux my-VirtualBox 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I could not find much on web search for this class, anything that I am missing?
Thanks,
Peter
I suggest opening support ticket for such case.
Sebastian
Any idea if this support the GRAALVM native image