开发者社区 > 云原生 > 正文

Sentinel 1.4.0 和 Lettuce 4.2.2.Final Netty 版本冲突


APPLICATION FAILED TO START


Description:

An attempt was made to call the method io.netty.buffer.ByteBuf.forEachByte(IILio/netty/buffer/ByteBufProcessor;)I but it does not exist. Its class, io.netty.buffer.ByteBuf, is available from the following locations:

jar:file:/C:/Users/Administrator/.m2/repository/io/netty/netty-all/4.1.31.Final/netty-all-4.1.31.Final.jar!/io/netty/buffer/ByteBuf.class
jar:file:/C:/Users/Administrator/.m2/repository/io/netty/netty-buffer/4.0.40.Final/netty-buffer-4.0.40.Final.jar!/io/netty/buffer/ByteBuf.class

It was loaded from the following location:

file:/C:/Users/Administrator/.m2/repository/io/netty/netty-all/4.1.31.Final/netty-all-4.1.31.Final.jar

原提问者GitHub用户xiaolongyuan

展开
收起
码字王 2023-05-19 19:21:44 150 0
1 条回答
写回答
取消 提交回答
  • 使用 Lettuce 4.5.0.Final

    原回答者GitHub用户xiaolongyuan

    2023-05-19 22:46:08
    赞同 展开评论 打赏

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
阿里云容器 AHAS Sentinel 网关流控揭秘 立即下载
workshop专场-微服务专场-开发者动手实践营-微服务-使用Sentinel进行微服务流量控制 立即下载
Sentinel分布式系统下的流量防卫兵 立即下载