开发者
资源
鲲鹏环境编译netty 4.0.32.Final报“Could not resolve dependencies”错误解决方法
鲲鹏环境编译netty 4.0.32.Final报“Could not resolve dependencies”错误解决方法
发表于2023/09/08
6099

[问题描述】

鲲鹏环境编译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版本遇到类似报错均可参考以上相同解决方法;

收藏举报
Level 1
0
帖子
0
粉丝
0
获赞