文章目录
一、安装驱动
驱动下载地址:http://rxtx.qbang.org/pub/rxtx/,x64的windows应该选择rxtx-2.2pre1-bins.zip,选择对应64位的dll文件,放在jdk的bin中。
二、pom.xml配置
<dependencies>
<dependency>
<groupId>io.netty
驱动下载地址:http://rxtx.qbang.org/pub/rxtx/,x64的windows应该选择rxtx-2.2pre1-bins.zip,选择对应64位的dll文件,放在jdk的bin中。
<dependencies>
<dependency>
<groupId>io.netty