sofastack / sofa-jraft

A production-grade java implementation of RAFT consensus algorithm.
https://www.sofastack.tech/projects/sofa-jraft/
Apache License 2.0
3.57k stars 1.14k forks source link

程序包com.codahale.metrics不存在 #917

Closed funky-eyes closed 1 year ago

funky-eyes commented 1 year ago

Describe the bug

A clear and concise description of what the bug is. 现在是要自行引包吗? 1.3.11 mvn dependency:tree 存在 image 1.3.12时

    <dependency>
        <groupId>io.dropwizard.metrics</groupId>
        <artifactId>metrics-core</artifactId>
    </dependency>

就打不进来

Expected behavior

Actual behavior

Steps to reproduce

Minimal yet complete reproducer code (or GitHub URL to code)

Environment

fengjiachun commented 1 year ago

https://github.com/sofastack/sofa-jraft/blame/master/pom.xml#L240

这不都在呢么

fengjiachun commented 1 year ago

看看是不是你自己排除了 jar,先关闭了

funky-eyes commented 1 year ago

可能是这个原因 is missing, no dependency information available ,没真正拉下来

funky-eyes commented 1 year ago

https://github.com/sofastack/sofa-jraft/blame/master/pom.xml#L240

这不都在呢么

我也觉得自己问题,后面排查到了谢谢