从源代码构建 netty 时出现问题

Issue while building netty from source

当我从源代码构建 netty 时,构建失败

[INFO] Netty/Transport/Native/Epoll ....................... FAILURE [ 5.927 s]

我收到的错误消息是

[ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.10:build (build-native-lib) on project netty-transport-native-epoll: build failed: org.apache.maven.plugin.MojoExecutionException: Extracted package did not look like it contained a native source build. -> [Help 1]

您似乎想要编译本机库,为此您应该在 Linux 下并从 http://netty.io/wiki/native-transports.html.

安装其他库