你没有添加jpcap的dll库Jpcap.dll到jre里面,添加即可,如图所示:
JPCAP的文档readme中英文解释如下:
1) Copy "lib\Jpcap.dll" into "[JRE directory]\bin" or
"[JRE directory]\lib\ext\x86"
2) Copy "lib\jpcap.jar" into "[JRE directory]\lib\ext"
3) If you installed JDK, you also need to copy "lib\jpcap.jar" into
"[JDK directory]\jre\lib\ext".
Note: [JRE directory] is usually "C:\Program Files\Java\j2re*".
[JDK directory] is usually "C:\Program Files\Java\jdk*".