早教吧作业答案频道 -->其他-->
Can'tfinddependentlibraries怎么解决Exceptioninthread"main"java.lang.UnsatisfiedLinkError:C:\ProgramFiles\Java\jdk1.6.017\bin\Jpcap.dll:Can'tfinddependentlibrariesatjava.lang.ClassLoader$NativeLibrary.load(NativeMethod)atjava.lang.C
题目详情
Can't find dependent libraries怎么解决
Exception in thread "main" java.lang.UnsatisfiedLinkError:C:\Program Files\Java\jdk1.6.0_17\bin\Jpcap.dll:Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1758)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1683)
at java.lang.Runtime.loadLibrary0(Runtime.java.823)
at java.lang.System.loadLibrary(System.java:1028)
at jpcap.JpcapCaptor.(JpcapCaptor.java:250)
at Netitf.main(Netitf.java:8)
Press any key to continue...
Exception in thread "main" java.lang.UnsatisfiedLinkError:C:\Program Files\Java\jdk1.6.0_17\bin\Jpcap.dll:Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1758)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1683)
at java.lang.Runtime.loadLibrary0(Runtime.java.823)
at java.lang.System.loadLibrary(System.java:1028)
at jpcap.JpcapCaptor.(JpcapCaptor.java:250)
at Netitf.main(Netitf.java:8)
Press any key to continue...
▼优质解答
答案和解析
无法找到依赖库,需要把你项目里用到的Jpcap.dll文件复制到C:\Program Files\Java\jdk1.6.0_17\bin下
看了 Can'tfinddepen...的网友还看了以下:
Exceptioninthread"AWT-EventQueue-0"java.lang.Arra 2020-05-17 …
java.lang.ClassNotFoundException:com.microsoft.sq 2020-05-17 …
系统正常使用中出现如下错误:java.net.SocketException:Brokenpipe 2020-06-14 …
java.net.SocketException:Brokenpipeatjava.net.Soc 2020-06-14 …
测试结果500ServletExceptionjava.lang.NumberFormatExce 2020-07-17 …
帮我看看哪错了javajava.lang.ClassNotFoundException:oracl 2020-07-17 …
关于java空指针异常atjava.util.Properties$LineReader.read 2020-07-17 …
Can'tfinddependentlibraries怎么解决Exceptioninthread" 2020-08-04 …
java.net.MalformedURLException:unknownprotocol:c项 2020-08-04 …
1W白光亮度:90-100LM型号:EHP-AX08EL/GT01H-P01,光通量:K42以上,色 2020-10-31 …