Getting Started not getting far

I downloaded and installed 2.2 Enterprise and the Admin console works great.

Imported the jars in the Java SDK and tried the hello world example.

Here is the console when I try to run it.

2013-10-24 10:30:57.391 INFO com.couchbase.client.CouchbaseMemcachedConnection: Added {QA sa=/, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2013-10-24 10:30:57.400 INFO com.couchbase.client.CouchbaseMemcachedConnection: Connection state changed for
Exception in thread “main” java.lang.NoSuchMethodError: com/couchbase/client/CouchbaseConnectionFactory.getListenerExecutorService()Ljava/util/concurrent/ExecutorService;
at com.couchbase.client.CouchbaseClient.(
at com.couchbase.client.CouchbaseClient.(


It looks like an issue with the Java dependencies.

Which version of the SDK are you using?

Have you imported them using Maven or manually?
Can you use Maven? it makes the dependency management a lot easier.


Thanks, it is in a Java Compute Node in Websphere Message Broker, so Maven not a factor. I had been using Memcached and Spymemcached before migrating to couchbase, so I had a later version of the client in my classpath that didn’t have that method. Removed the newer version jar and retained the one in the couchbase distro…bingo that works great.