1、pom.xml说明
netty ssl依赖以下文件,找出netty对应版本的tcnative依赖版本,在netty github官网有依赖说明。我这里用的是4.1.31.Final,对应netty ssl依赖的tcnative版本2.0.19.Final。
<dependencies>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>${netty-all.version}</version>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
<version>${tcnative.version}</version>
<classifier>linux-x86_64</classifier>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
<version>${tcnative.version}</version>
<classifier>linux-x86_64-fedora</classifier>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<