net.sf.fmj.media.cdp.civil.CaptureDevicePlugger addCaptureDevices解決方案

來源:互聯網
上載者:User

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

 

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.