You need to add slf4j-api-1.6.1.jar and slf4j-log4j12-1.6.1.jar to your
class path
You can also look at this page,
http://wiki.apache.org/cassandra/HowToDebug for another example of
setting up cassandra for debugging.
On 03/12/2012 09:47 PM, Thushan Ganegedara wrote:
Hi all,
I have followed the instruction presented on
Running cassandra on Eclipse -
http://wiki.apache.org/cassandra/RunningCassandraInEclipse
But when I tried to compile the codebase it presented me with the following
error
java.lang.
NoClassDefFoundError: org/slf4j/LoggerFactory
at
org.apache.cassandra.service.AbstractCassandraDaemon.<clinit>(AbstractCassandraDaemon.java:103)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
Exception in thread "main"
Can anybody help me here?
Thnx a lot