鲲鹏环境编译netty 4.0.32.Final报“Could not resolve dependencies”错误解决方法
收藏回复举报
鲲鹏环境编译netty 4.0.32.Final报“Could not resolve dependencies”错误解决方法
发表于2023-09-08 09:12:52
0 查看

[问题描述】

鲲鹏环境编译netty 4.0.32.Final报“Could not resolve dependencies”错误,详细报错信息如下:

Failed to execute goal on project netty-handler:  Could not resolve dependencies for project io.netty:netty-handler:jar:4.0.32.Final:Failure to find io.netty:netty-tcnative:jar:linux-aarch_64-fedora:1.1.33.Fork8 

【解决方法】

将netty-tcnative-1.1.33.Fork8-linux-aarch_64.jar重命名为netty-tcnative-1.1.33.Fork8-linux-aarch_64-fedroa.jar,具体操作如下:

cd /root/.m2/repository/io/netty/netty-tcnative/1.1.33.Fork8/

cp netty-tcnative-1.1.33.Fork8-linux-aarch_64.jar netty-tcnative-1.1.33.Fork8-linux-aarch_64-fedroa.jar

【注】:其他netty版本遇到类似报错均可参考以上相同解决方法;

本帖最后由 匿名用户 于 2025/04/01 16:23:33 编辑

我要发帖子