Hey Guys, please Help!
String userData = "{ \"name\":\"john\"} " ;
HttpClient httpClient = new StdHttpClient.Builder()
.url("https://extbasicph10.podc.sl.dst.ibm.com:6984")
.build();
CouchDbInstance dbInstance = new StdCouchDbInstance(httpClient);
CouchDbConnector db = new StdCouchDbConnector("wwffalogs", dbInstance);
db.createDatabaseIfNotExists();
db.update(userData);
LOG ERROR
[ERROR ] The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container
org/ektorp/CouchDbInstance
[ERROR ] SRVE0777E: Exception thrown by application class 'com.sun.jersey.spi.container.servlet.WebComponent.service:420'
javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/ektorp/CouchDbInstance at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at [internal classes]
Caused by: java.lang.NoClassDefFoundError: org/ektorp/CouchDbInstance
at com.ibm.service.cross.relay.CrossSessionHandler.send(CrossSessionHandler.java:214)
at com.ibm.service.ffa.relay.MessageResource.send(MessageResource.java:943)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)