最近在用spark+openfire开发即时通讯工具,在通过SVN将spark的源码下载过并编译运行时报错,错误如下
2010-8-2 17:13:48 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:110)
at org.jivesoftware.sparkimpl.preference.media.MediaPreferencePanel.<init>(MediaPreferencePanel.java:87)
at org.jivesoftware.sparkimpl.preference.media.MediaPreference.<init>(MediaPreference.java:33)
at org.jivesoftware.spark.preference.PreferenceManager.<init>(PreferenceManager.java:58)
at org.jivesoftware.spark.SparkManager.getPreferenceManager(SparkManager.java:170)
at org.jivesoftware.spark.filetransfer.SparkTransferManager.<init>(SparkTransferManager.java:181)
at org.jivesoftware.spark.filetransfer.SparkTransferManager.getInstance(SparkTransferManager.java:139)
at org.jivesoftware.spark.Workspace.buildLayout(Workspace.java:212)
at org.jivesoftware.LoginDialog$2.run(LoginDialog.java:1077)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
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)
... 19 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:麦??(Realtek High Definition A: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
错误是说找不到civil这个文件,在网上找了好多资料都没有能够解决,最后只能拿出杀手锏,将spark下window文件夹下的dll文化全部放入jdk的bin目录下,问题解决^_^
分享到:
相关推荐
解决方案:Exceptionin thread "main" java.lang.UnsatisfiedLinkError:org.apache.hadoop.util.NativeCrc32.nativeCo
"java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver" 解决方案 [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket. 解决了jsp连接 sql server 2000的问题
Exception in thread "main" org.apache.spark.SparkException: Amaster URL must be set in your configuration at org.apache.spark.SparkContext.(SparkContext.scala:206) at org.apache.spark.api.java....
总的来说,《Spark in Action》这本书全面覆盖了Spark的主要功能和使用方法,是Java程序员学习Spark的理想教材。通过学习这本书,你可以深入了解Spark的架构,掌握大数据处理的关键技术,并能运用到实际的项目开发中...
import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; import org.apache.spark.api.java.function.FlatMapFunction; import org.apache.spark.api.java.function....
Spark是Apache软件基金会下的一个开源大数据处理框架,它以其高效的计算性能、易用性和灵活性而闻名。本压缩包“spark2.3.0-hadoop2.6.tgz”是专门为运行在Hadoop 2.6环境下的Spark 2.3.0版本设计的。这个版本的...
1.Spark及其生态圈简介.pdf 2.Spark编译与部署(上)--基础环境搭建.pdf 2.Spark编译与部署(下)--Spark编译安装.pdf 2.Spark编译与部署(中)--Hadoop编译安装.pdf 3.Spark编程模型(上)--概念及SparkShell实战....
在Spark中,可以使用spark.read.csv方法读取存储在文件系统(如HDFS、本地文件系统等)中的CSV文件。读取的数据通常以DataFrame的形式存储,这样便于进行进一步的处理和分析。 10. Spark和Scala的关系 Scala语言...
Caused by: org.apache.spark.sql.catalyst.analysis.NoSuchTableException: Table or view 'stu' not found in database 'default'; 分析:确实没有临时表View,并且没有开启Hive支持 解决:开启Hive支持 val ...
解决mongo数据插入时 报错问题 mogodb插入数据时报错Can't find a codec for class java.math.BigDecimal
Spark.GraphX.in.Action.2016.6.pdf
spark-md5.min.js jsMD5计算
本资料“经典Spark算子的JAVA实现.zip”提供了25个核心Spark算子的Java实现,这些实现已经过Junit测试,确保了代码的正确性和可靠性。以下是对这些算子的详细介绍: 1. **map()**: 这是Spark中最基本的转换操作,它...
1.Spark及其生态圈简介.pdf 2.Spark编译与部署(上)--基础环境搭建.pdf 2.Spark编译与部署(下)--Spark编译安装.pdf 2.Spark编译与部署(中)--Hadoop编译安装.pdf 3.Spark编程模型(上)--概念及SparkShell实战....
greenplum-spark_2.11-1.6.2.jar,csdn 下载需积分,可私信获取百度云链接
博客https://blog.csdn.net/lsshlsw/article/details/82670508 spark_prometheus_metrics.json
《Spark与HBase交互:基于源码解决pyspark访问Hbase2的错误》 在大数据处理领域,Apache Spark和Apache HBase都是重要的组件。Spark提供了高性能的数据处理能力,而HBase则是分布式列式数据库,适合存储大规模结构...
While Spark is built on Scala, the Spark Java API exposes all the Spark features available in the Scala version for Java developers. This book will show you how you can implement various ...
High.Performance.Spark.Best.Practices.for.Scaling.and.Optimizing.Apache.Spark. High.Performance.Spark.Best.Practices.for.Scaling.and.Optimizing.Apache.Spark.