cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sancho sebastine <sanchoc...@gmail.com>
Subject Re: Dependencies need to run the hectors examples
Date Thu, 27 Jan 2011 20:17:43 GMT
Hi,

These are the dependencies i added in a recently working hector project.
Basically it the the files in HTMLParser/hector- and two from cassandra lib
folder and one from slf4j-1.6.1/integration/lib folder.

uuid-3.2.jar
snakeyaml-1.6.jar
slf4j-simple-1.5.11.jar
slf4j-api-1.5.11.jar
perf4j-0.9.12.jar
log4j-1.2.14.jar
libthrift-0.5.jar
jug-asl-2.0.0.jar
high-scale-lib-1.0.jar
hector-core-0.7.0-22.jar
hector-core-0.7.0-22-sources.jar
google-collections-1.0.jar
commons-pool-1.5.3.jar
commons-lang-2.4.jar
commons-codec-1.4.jar
cassandra-javautils-0.7.0.jar
apache-cassandra-0.7.0-rc2.jar

Thanks & Regards

Sancho C Sebastine
Senior Software Developer
Unsubcentral Inc.




On Thu, Jan 27, 2011 at 1:19 PM, Eranda Sooriyabandara <070468d@gmail.com>wrote:

> Hi all,
> I tried to test some functionalities with using the hectors client API. But
> I could not able to run it because of some dependencies it required.
> For example I manually added jars like
>
> perf4j-0.9.13
>
> slf4j-api-1.6.1
> slf4j-api-1.6.1-sources
>
>
> What are the other dependencies I need to add to use the API?
>
> thanks
> Eranda
>
> P.S. Here is the latest exception I got when I ran my example.
>
> /usr/lib/jvm/java-6-sun/bin/java -Didea.launcher.port=7536
> -Didea.launcher.bin.path=/home/eranda/idea-IU-93.94/bin
> -Dfile.encoding=UTF-8 -classpath
>
> /usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/javaws.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/management-agent.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/alt-rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/deploy.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/plugin.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/ext/dnsns.jar:/home/eranda/IdeaProjects/Cassendra/out/production/Cassendra:/home/eranda/Desktop/cassendra/dependancies/hector-core-0.7.0-24-SNAPSHOT.jar:/home/eranda/Desktop/cassendra/dependancies/perf4j-0.9.13.jar:/home/eranda/Desktop/cassendra/dependancies/slf4j-api-1.6.1-sources.jar:/home/eranda/Desktop/cassendra/dependancies/slf4j-api-1.6.1.jar:/home/eranda/Desktop/cassendra/dependancies/hector-object-mapper-1.0-01.jar:/home/eranda/idea-IU-93.94/lib/idea_rt.jar
> com.intellij.rt.execution.application.AppMain org.eranda.cassendra.Main
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/cliffc/high_scale_lib/NonBlockingHashMap
> at
>
> me.prettyprint.cassandra.connection.HConnectionManager.<init>(HConnectionManager.java:57)
> at
>
> me.prettyprint.cassandra.service.AbstractCluster.<init>(AbstractCluster.java:62)
> at
>
> me.prettyprint.cassandra.service.AbstractCluster.<init>(AbstractCluster.java:58)
> at
>
> me.prettyprint.cassandra.service.ThriftCluster.<init>(ThriftCluster.java:17)
> at
> me.prettyprint.hector.api.factory.HFactory.createCluster(HFactory.java:157)
> at
>
> me.prettyprint.hector.api.factory.HFactory.getOrCreateCluster(HFactory.java:136)
> at
>
> me.prettyprint.hector.api.factory.HFactory.getOrCreateCluster(HFactory.java:109)
> at org.eranda.cassendra.Main.start(Main.java:24)
> at org.eranda.cassendra.Main.main(Main.java:20)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:110)
> Caused by: java.lang.ClassNotFoundException:
> org.cliffc.high_scale_lib.NonBlockingHashMap
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message