You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
at objectexplorer.InstrumentationGrabber.checkSetup (InstrumentationGrabber.java:20)
at objectexplorer.InstrumentationGrabber.instrumentation (InstrumentationGrabber.java:25)
at objectexplorer.MemoryMeasurer.<clinit> (MemoryMeasurer.java:24)
at com.example.App.main (App.java:19)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:834)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Preconditions
at jdk.internal.loader.BuiltinClassLoader.loadClass (BuiltinClassLoader.java:581)
at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass (ClassLoaders.java:178)
at java.lang.ClassLoader.loadClass (ClassLoader.java:521)
at objectexplorer.InstrumentationGrabber.checkSetup (InstrumentationGrabber.java:20)
at objectexplorer.InstrumentationGrabber.instrumentation (InstrumentationGrabber.java:25)
at objectexplorer.MemoryMeasurer.<clinit> (MemoryMeasurer.java:24)
at com.example.App.main (App.java:19)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run (ExecJavaMojo.java:254)
at java.lang.Thread.run (Thread.java:834)
I get this error when I try to use this library:
Here is my setup:
I also tried packaging a fatjar and using that. That gives me another error:
what gives?
The text was updated successfully, but these errors were encountered: