一、在项目中引入jar包
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/2bec1ee551e4425097134ca076cacd44.png)
二、pom文件添加 引入外部包
<!--应用第三方包监听文件-->
<dependency>
<groupId>jnotify</groupId>
<artifactId>jnotify</artifactId>
<version>0.94.0</version>
<scope>system</scope>
<systemPath>${basedir}/src/main/resources/lib/samleeTLV20221214.jar</systemPath>
</dependency>