Compiling and Installing netty-tcnative
- Configure Cntlm.
If a proxy is required for the server to access the Internet, configure Cntlm. For details, see Configuring Cntlm.
- Go to the source code path. Compile and install Netty.
1 2
cd /home/netty-tcnative-netty-tcnative-parent-2.0.28.Final/ mvn clean install

If "BUILD SUCCESS" is displayed, the compilation is successful.
If an error is reported during the compilation and installation, rectify the error based on the NOTE. Then continue the compilation and installation. (If the error is rectified based on Failed to Obtain BoringSSL During Compilation and Failed to Build BoringSSL During Compilation, run the mvn install command to perform compilation and installation.)
- If an error is reporting stating "unable to access 'https://boringssl.googlesource.com/boring/'", see Failed to Access the BoringSSL Download Link During Compilation and Installation.
- If an error is reporting stating "Failed to execute goal org.apache.maven.plugins:maven-scm-plugin:1.9.4:checkout(get-boringssl)", see Failed to Obtain BoringSSL During Compilation.
- If an error is reporting stating "Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run(build-boringssl)", see Failed to Build BoringSSL During Compilation.
- If an error is reporting stating "unable to find valid certification path to requested target", see Importing the Certificate.
- View the generated JAR package.
1ls /home/netty-tcnative-netty-tcnative-parent-2.0.28.Final/boringssl-static/target/