signal-fx java包java.lang.noclassdeffounderror:com/codahale/metrics/threadlocalrandomproxy更新重置计时器

y1aodyip  于 2021-07-06  发布在  Java
关注(0)|答案(0)|浏览(226)

正在尝试从中使用重置计时器https://github.com/signalfx/signalfx-java 正在生成一个 ClassNotFoundException :

java.lang.ClassNotFoundException: com.codahale.metrics.ThreadLocalRandomProxy
    at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) ~[na:na]
    at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[na:na]
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ~[na:na]
    at com.codahale.metrics.ResettingExponentiallyDecayingReservoir.update(ResettingExponentiallyDecayingReservoir.java:104) ~[signalfx-codahale-1.0.5.jar:4.1.12.1]
    at com.codahale.metrics.ResettingExponentiallyDecayingReservoir.update(ResettingExponentiallyDecayingReservoir.java:89) ~[signalfx-codahale-1.0.5.jar:4.1.12.1]
    at com.codahale.metrics.Histogram.update(Histogram.java:41) ~[metrics-core-4.1.12.1.jar:4.1.12.1]
    at com.codahale.metrics.Timer.update(Timer.java:199) ~[metrics-core-4.1.12.1.jar:4.1.12.1]
    at com.codahale.metrics.Timer.update(Timer.java:94) ~[metrics-core-4.1.12.1.jar:4.1.12.1]

pom包含:

<dependency>
      <groupId>com.signalfx.public</groupId>
      <artifactId>signalfx-codahale</artifactId>
      <version>1.0.5</version>
    </dependency>

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题