user836087
user836087

Reputation: 2501

cassandra client hector api java.lang.NoClassDefFoundError: org/apache/log4/Level

I am getting java.lang.NoClassDefFoundError: org/apache/log4/Level.

I'm not a java guy but can read code. What should i do to get rid of this exception? This exception really have nothing to do with cassandra hector api, why is it bothering me?

thanks!

Upvotes: 0

Views: 132

Answers (1)

rs_atl
rs_atl

Reputation: 8985

You are missing the log4j jar on your classpath. Specify the classpath with the -cp option on the java command when you run your app.

Upvotes: 2

Related Questions