zoukankan      html  css  js  c++  java
  • net.sf.fmj.media.cdp.civil.CaptureDevicePlugger addCaptureDevices解决方法

    Spark运行时报错,解决办法,将spark源码目录E:\MyeclipseWorkspace\spark\build\lib\dist\windows 下的civil.dll 文件拷贝到C盘jdk的bin目录下,即可。      错误代码如下: ----错误代码 start---- 010-11-15 10:56:11 net.sf.fmj.media.cdp.civil.CaptureDevicePlugger addCaptureDevices 警告: com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: no civil in java.library.path com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: no civil in java.library.path at com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:24) at net.sf.fmj.media.cdp.civil.CaptureDevicePlugger.addCaptureDevices(CaptureDevicePlugger.java:37) at net.sf.fmj.media.cdp.GlobalCaptureDevicePlugger.addCaptureDevices(GlobalCaptureDevicePlugger.java:18) at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.scanDevices

    (MediaPreferencePanel.java:93) at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.<init>(MediaPreferencePanel.java:69) at org.jivesoftware.sparkimpl.preference.media.MediaPreference.<init>(MediaPreference.java:14) at org.jivesoftware.spark.preference.PreferenceManager.<init>(PreferenceManager.java:49) at org.jivesoftware.spark.SparkManager.getPreferenceManager(SparkManager.java:161) at org.jivesoftware.spark.filetransfer.SparkTransferManager.<init>(SparkTransferManager.java:172) at org.jivesoftware.spark.filetransfer.SparkTransferManager.getInstance(SparkTransferManager.java:130) at org.jivesoftware.spark.Workspace.buildLayout(Workspace.java:202) at org.jivesoftware.LoginDialog.startSpark(LoginDialog.java:1045) at org.jivesoftware.LoginDialog.access$3(LoginDialog.java:987) at org.jivesoftware.LoginDialog$LoginPanel$1.construct(LoginDialog.java:612) at org.jivesoftware.spark.util.SwingWorker$2.run(SwingWorker.java:131) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.UnsatisfiedLinkError: no civil in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem(NativeCaptureSystemFactory.java:21) ... 15 more javasound:主声音捕获驱:0   LINEAR, Unknown Sample Rate, 16-bit, Stereo, LittleEndian, Signed, FrameSize=32 bits   LINEAR, Unknown Sample Rate, 16-bit, Stereo, BigEndian, Signed, FrameSize=32 bits   LINEAR, Unknown Sample Rate, 8-bit, Stereo, Unsigned, FrameSize=16 bits   LINEAR, Unknown Sample Rate, 8-bit, Stereo, Signed, FrameSize=16 bits   LINEAR, Unknown Sample Rate, 16-bit, Mono, LittleEndian, Signed, FrameSize=16 bits   LINEAR, Unknown Sample Rate, 16-bit, Mono, BigEndian, Signed, FrameSize=16 bits   LINEAR, Unknown Sample Rate, 8-bit, Mono, Unsigned, FrameSize=8 bits   LINEAR, Unknown Sample Rate, 8-bit, Mono, Signed, FrameSize=8 bits javasound:Conexant HD Audio input:1   LINEAR, Unknown Sample Rate, 16-bit, Stereo, LittleEndian, Signed, FrameSize=32 bits   LINEAR, Unknown Sample Rate, 16-bit, Stereo, BigEndian, Signed, FrameSize=32 bits   LINEAR, Unknown Sample Rate, 8-bit, Stereo, Unsigned, FrameSize=16 bits   LINEAR, Unknown Sample Rate, 8-bit, Stereo, Signed, FrameSize=16 bits   LINEAR, Unknown Sample Rate, 16-bit, Mono, LittleEndian, Signed, FrameSize=16 bits   LINEAR, Unknown Sample Rate, 16-bit, Mono, BigEndian, Signed, FrameSize=16 bits   LINEAR, Unknown Sample Rate, 8-bit, Mono, Unsigned, FrameSize=8 bits   LINEAR, Unknown Sample Rate, 8-bit, Mono, Signed, FrameSize=8 bits

    I'm falling off the sky all alone.The courage inside is gonna break the fall. Nothing can dim my light within. I am That I am 程序 = 数据结构 + 算法
  • 相关阅读:
    spring boot Mybatis 拦截器,实现拼接sql和修改
    spring security 5.x去除默认前缀
    Umengday08-hive数据仓库建设
    Umengday07-flume、kafka与hdfs日志流转
    Umengday01-nginx模块(环境平台搭建)
    Umeng项目day04
    Java代码~~汽车租赁系统
    java基础知识(一)
    自动化测试知识点杂记,后续再进行整理
    博客第一天
  • 原文地址:https://www.cnblogs.com/IamThat/p/2938564.html
Copyright © 2011-2022 走看看