二、netty安装

所有文章

https://www.cnblogs.com/lay2017/p/12922074.html

正文

在Java项目安装netty,需要你下载jar包,并添加到类路径。

maven方式

比较流行的方式是直接采用项目管理工具,比如maven

<dependency>
    <groupId>io.netty</groupId>
    <artifactId>netty-all</artifactId>
    <version>4.1.16.Final</version>
</dependency>

记得修改version到你需要的版本

猜你喜欢

转载自www.cnblogs.com/lay2017/p/12922189.html
今日推荐